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 |
|---|---|---|---|---|---|
hpedrorodrigues/TimeRunner | src/scenes/menu.lua | 1 | 2389 | local importations = require(IMPORTATIONS)
local composer = require(importations.COMPOSER)
local displayConstants = require(importations.DISPLAY_CONSTANTS)
local images = require(importations.IMAGES)
local listener = require(importations.LISTENER)
local sceneManager = require(importations.SCENE_MANAGER)
local viewUtil ... | apache-2.0 |
joseph3713/gamecode4 | Assets/Scripts/TeapotAi.lua | 44 | 3132 | --========================================================================
-- TeapotAi.lua : Defines the state machine for AI teapots
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - 4th Edition" by ... | lgpl-3.0 |
celophi/melia | system/scripts/npc/field/f_farm_47_2.lua | 1 | 5192 | ----- Joana -----
----- npcselectdialog.ies | ClassName: FARM47_JOANA -----
----- Dialog -----
----- QuestIDs: FARM47_2_SQ_010 | FARM47_2_SQ_020 | FARM47_2_SQ_040 | FARM47_2_SQ_050 | FARM47_2_SQ_060 | FARM47_2_SQ_080 | FARM47_2_SQ_045 -----
addnpc(152001, "QUEST_LV_0200_20150323_003457", "f_farm_47_2", -90, 40, 150, 4... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Arrapago_Reef/mobs/Medusa.lua | 11 | 2583 | -----------------------------------
-- Area: Arrapago Reef
-- NM: Medusa
-- !pos -458 -20 458
-- TODO: resists, attack/def boosts
-----------------------------------
local ID = require("scripts/zones/Arrapago_Reef/IDs")
mixins = {require("scripts/mixins/job_special")}
require("scripts/globals/titles")
require("script... | gpl-3.0 |
tomyun/Gearboy | platforms/ios/dependencies/SDL-2.0.4-9174/premake/util/sdl_depends.lua | 9 | 2976 | -- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for any purp... | gpl-3.0 |
ibikecph/osrm-backend | profiles/bicycle_fast.lua | 1 | 12633 | require("lib/access")
require("lib/maxspeed")
-- Begin of globals
barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true}
access_tag_whitelist =... | agpl-3.0 |
wiremod/wire | lua/entities/gmod_wire_digitalscreen/cl_init.lua | 3 | 7704 | include('shared.lua')
function ENT:Initialize()
self.Memory1 = {}
self.Memory2 = {}
self.LastClk = true
self.NewClk = true
self.Memory1[1048575] = 1
self.Memory2[1048575] = 1
self.NeedRefresh = true
self.IsClear = true
self.ClearQueued = false
self.RefreshPixels = {}
self.RefreshRows = {}
self.ScreenWidt... | apache-2.0 |
jimbo00000/Flickercladding | deploy/lua/flickercladding_scenebridge.lua | 1 | 12289 | -- flickercladding_scenebridge.lua
print(jit.version, jit.os, jit.arch)
local appDir = "/sdcard/Android/data/com.android.flickercladding"
package.path = appDir.."/lua/?.lua;" .. package.path
package.path = "../deploy/lua/?.lua;" .. package.path
local ffi = require("ffi")
local openGL -- @todo select GL or GLES header... | mit |
TeoTwawki/darkstar | scripts/zones/Middle_Delkfutts_Tower/Zone.lua | 1 | 3135 | -----------------------------------
--
-- Zone: Middle_Delkfutts_Tower
--
-----------------------------------
local ID = require("scripts/zones/Middle_Delkfutts_Tower/IDs")
require("scripts/globals/conquest")
require("scripts/globals/npc_util")
require("scripts/globals/settings")
require("scripts/globals/treasure")
req... | gpl-3.0 |
XeonSquared/multice | modules/applications/ircbridge-embedded.lua | 1 | 1719 | _G.tircb = {}
function ircb(h,p,n) -- host, port
s("IRC bridge connector", function()
local ip,h,p = component.proxy(component.list("internet")()),h,p
local c=ip.connect(h,p)
local ct = computer.uptime()
while computer.uptime() < ct+5 do
C.yield()
c.finishConnect()
end
if c.finishConnect() then
lo... | mpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Windurst_Woods/npcs/Perih_Vashai.lua | 2 | 6580 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Parih Vashai
-- Starts and Finishes Quest: The Fanged One, From Saplings Grow
-- !pos 117 -3 92 241
-----------------------------------
local ID = require("scripts/zones/Windurst_Woods/IDs")
require("scripts/globals/keyitems")
require("scripts/globals... | gpl-3.0 |
shahramam/teleseed | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Shahau.lua | 12 | 1159 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Shahau
-- Type: Alchemy Image Support
-- !pos -10.470 -6.25 -141.700 241
-----------------------------------
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/status")
require("scripts/globals/crafting")
-----... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fochacha.lua | 2 | 1893 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fochacha
-- Type: Standard NPC
-- !pos 2.897 -1 -10.781 50
-- Quest: Delivering the Goods
-----------------------------------
require("scripts/globals/quests")
require("scripts/globals/npc_util")
require("scripts/globals/settings")
local ID = r... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Castle_Zvahl_Baileys/npcs/Switchstix.lua | 3 | 19850 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Switchstix
-- Type: Standard NPC
-- !pos 386.091 -13 -17.399 161
-----------------------------------
local ID = require("scripts/zones/Castle_Zvahl_Baileys/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/status");
---------... | gpl-3.0 |
TeoTwawki/darkstar | scripts/globals/items/dish_of_spaghetti_arrabbiata.lua | 11 | 1755 | -----------------------------------------
-- ID: 5211
-- Item: dish_of_spaghetti_arrabbiata
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +17% (cap 140)
-- Strength +5
-- Vitality +2
-- Intelligence -7
-- Attack +22% (cap 90)
-- Ranged Attack +22% (cap 90)
-- Store TP +6
-- Sleep resi... | gpl-3.0 |
jimbo00000/Flickercladding | deploy/lua/scene/raymarch_csg.lua | 1 | 6637 | --[[ raymarch_csg.lua
Takes some basic raymarching code from shadertoy and applies the incoming
view and projection matrices so raymarched objects can coexist with
rasterized ones by sharing a color and depth buffer.
]]
raymarch_csg = {}
raymarch_csg.__index = raymarch_csg
function raymarch_csg.new(...)
... | mit |
ReWrite94/iLife | client/Manager/Sound/cCustomCrashSoundManager.lua | 2 | 1559 | -- #######################################
-- ## Project: MTA iLife ##
-- ## Name: CustomCrashSoundManager.lua ##
-- ## Author: Noneatme ##
-- ## Version: 1.0 ##
-- ## License: See top Folder ##
-- #######################################
-- FUNCTIONS / METHODS --
local cFunc = {}; -- Local Function... | mit |
IoveSunny/DreamBox | feeds/luci/luci/luci/libs/httpclient/luasrc/httpclient/receiver.lua | 93 | 6049 | --[[
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$
]]--
requ... | gpl-2.0 |
TeoTwawki/darkstar | scripts/globals/items/galette_des_rois.lua | 11 | 1198 | -----------------------------------------
-- ID: 5875
-- Item: Galette Des Rois
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- HP +8
-- MP +3% (cap13)
-- Intelligence +2
-- Random Jewel
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Northern_San_dOria/npcs/Taurette.lua | 2 | 1362 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Taurette
-- Involved in Quests: Riding on the Clouds
-- !pos -159 0 91 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
r... | gpl-3.0 |
TeoTwawki/darkstar | scripts/globals/weaponskills/blade_chi.lua | 10 | 1550 | -----------------------------------
-- Blade Chi
-- Katana weapon skill
-- Skill Level: 150
-- Delivers a two-hit earth elemental attack. Damage varies with TP.
-- Aligned with the Thunder Gorget & Light Gorget.
-- Aligned with the Thunder Belt & Light Belt.
-- Element: Earth
-- Modifiers: STR:30% INT:30%
-- 100%TP ... | gpl-3.0 |
detect00r/zes | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
cuit-zhaxin/quick-ng | cocos/scripting/lua-bindings/auto/api/Text.lua | 7 | 7852 |
--------------------------------
-- @module Text
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- Enable shadow for the label.<br>
-- todo support blur for shadow effect<br>
-- param shadowColor The color of shadow effect.<br>
-- param offset The offset of shadow effect.<br>
-- param blurR... | mit |
TeoTwawki/darkstar | scripts/zones/Cloister_of_Frost/mobs/Shiva_Prime.lua | 3 | 1500 | -----------------------------------
-- Area: Cloister of Frost
-- MOB: Shiva Prime
-- Involved in Quest: Trial by Ice
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status");
---... | gpl-3.0 |
rowellx68/nodemcu-firmware-custom | lua_modules/ds18b20/ds18b20.lua | 54 | 3437 | --------------------------------------------------------------------------------
-- DS18B20 one wire module for NODEMCU
-- NODEMCU TEAM
-- LICENCE: http://opensource.org/licenses/MIT
-- Vowstar <vowstar@nodemcu.com>
-- 2015/02/14 sza2 <sza2trash@gmail.com> Fix for negative values
---------------------------------------... | mit |
NickDario/simple-projects | ai/Human_Level_Control_through_Deep_Reinforcement_Learning/dqn/convnet.lua | 2 | 2038 | --[[
Copyright (c) 2014 Google Inc.
See LICENSE file for full terms of limited license.
]]
require "initenv"
function create_network(args)
local net = nn.Sequential()
net:add(nn.Reshape(unpack(args.input_dims)))
--- first convolutional layer
local convLayer = nn.SpatialConvolution
if args.gpu ... | apache-2.0 |
xxMRXxx/M-R-X | plugins/h4.lua | 1 | 1178 | --Dev:> ṂṜẌ .. @memo_cool
do
local function run(msg, matches)
if is_momod(msg) and matches[1]== "m4" then
return [[
اوامر حماية الميديا ♏️
ـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَ
🔐قفل _ للقفل
🔓فتح _ للفتح
ـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـَـَــَـ... | gpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Carpenters_Landing/npcs/qm8.lua | 2 | 1907 | -----------------------------------
-- Area: Carpenters' Landing
-- NPC: ??? (qm2)
-- Involved in Missions: Calm Before the Storm (CoP 7-4)
-- !pos 120.615 -5.457 -390.133 2
-----------------------------------
local ID = require("scripts/zones/Carpenters_Landing/IDs")
require("scripts/globals/missions")
-------------... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Horlais_Peak/IDs.lua | 3 | 1805 | -----------------------------------
-- Area: Horlais_Peak
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.HORLAIS_PEAK] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come bac... | gpl-3.0 |
cecile/Cecile_QuickTalents | src/Cecile_QuickTalents/libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua | 20 | 12722 | --- AceConfigRegistry-3.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". \\
-- * Valid **uiTypes**: "cmd", "dropdown", "... | artistic-2.0 |
liaoyuke/EECS542_Final_Project_VQA | code/lowmem_objects/opensource_base.lua | 1 | 25717 | -- local debugger = require 'fb.debugger'
local stringx = require 'pl.stringx'
local file = require 'pl.file'
function getFreeGPU()
-- select the most available GPU to train
local nDevice = cutorch.getDeviceCount()
local memSet = torch.Tensor(nDevice)
for i=1, nDevice do
local tmp, _ = cutorch.... | mit |
TeoTwawki/darkstar | scripts/zones/North_Gustaberg_[S]/IDs.lua | 3 | 1183 | -----------------------------------
-- Area: North_Gustaberg_[S]
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.NORTH_GUSTABERG_S] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. C... | gpl-3.0 |
gsdocker/gsos | .gsmake/gsmake/github.com/gsmake/golang/gsmake/plugin.lua | 1 | 3569 | local fs = require "lemoon.fs"
local sys = require "lemoon.sys"
local class = require "lemoon.class"
local throw = require "lemoon.throw"
local filepath = require "lemoon.filepath"
local logger = class.new("lemoon.log","gsmake")
task.resources = function(self)
local ok, go_tools_... | mit |
TeoTwawki/darkstar | scripts/globals/items/rolanberry_daifuku.lua | 11 | 2066 | -----------------------------------------
-- ID: 6339
-- Item: rolanberry_daifuku
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 50)
-- Ranged Accuracy +10% (cap 50)
-- Magic Accuracy +3
-- Pet:
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 75)
-- Range... | gpl-3.0 |
vip-group-manager-bot/vgmtelebot | bot/utils.lua | 24 | 23030 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Windurst-Jeuno_Airship/npcs/Mauricio.lua | 12 | 1814 | -----------------------------------
-- Area: Windurst-Jeuno Airship
-- NPC: Mauricio
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Windurst-Jeuno_Airship/IDs")
-----------------------------------
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
l... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_541.lua | 2 | 1666 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Sandy Ambassador
-- San d'Orian Mission 3.3 "Appointment to Jeuno"
-- !pos 636 16 20 184
-----------------------------------
local ID = require("scripts/zones/Lower_Delkfutts_Tower/IDs")
require("scripts/globals/... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Monarch_Linn/bcnms/ancient_vows.lua | 1 | 2463 | -----------------------------------
-- Area: Monarch Linn
-- Name: Ancient Vows
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/battlefield")
require("scripts/globals/missions");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBattlefieldRegister(playe... | gpl-3.0 |
voydz/vektor | libs/AceDB-3.0/AceDB-3.0.lua | 16 | 24630 | --- **AceDB-3.0** manages the SavedVariables of your addon.
-- It offers profile management, smart defaults and namespaces for modules.\\
-- Data can be saved in different data-types, depending on its intended usage.
-- The most common data-type is the `profile` type, which allows the user to choose
-- the active profi... | mit |
wiremod/wire | lua/entities/gmod_wire_data_satellitedish.lua | 1 | 1353 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Data Satellite Dish"
ENT.WireDebugName = "Satellite Dish"
if CLIENT then return end -- No more client
function ENT:Initialize()
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
self... | apache-2.0 |
TeoTwawki/darkstar | scripts/zones/Abyssea-Tahrongi/IDs.lua | 12 | 5067 | -----------------------------------
-- Area: Abyssea-Tahrongi
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.ABYSSEA_TAHRONGI] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, --... | gpl-3.0 |
Kurios/mudlet-dev | src/lua/mudlet-lua/lua/luadoc/taglet/mudlet.lua | 1 | 17567 | -------------------------------------------------------------------------------
-- This is just copy of standard.lua with support for <pre> tag in
-- documentation. See example bellow:
-- <pre>
-- if info ~= nil then
-- assert(info.name, "function name undefined")
-- end
-- </pre>
--
--
-- LuaDoc modules fu... | gpl-2.0 |
notcake/gvote | lua/gvote/votequeue.lua | 1 | 2584 | local self = {}
GVote.VoteQueue = GVote.MakeConstructor (self)
--[[
Events:
VoteDequeued (Vote vote)
Fired when a vote has been dequeued.
VoteEnqueued (Vote vote)
Fired when a vote has been enqueued.
VoteStarted (Vote vote)
Fired when a vote has started.
]]
function self:ctor ()
self.Ne... | gpl-3.0 |
TeoTwawki/darkstar | scripts/globals/items/death_scythe.lua | 12 | 1066 | -----------------------------------------
-- ID: 16777
-- Item: Death Scythe
-- Additional Effect: Drains HP
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player... | gpl-3.0 |
dani-sj/dadanod | plugins/location.lua | 93 | 1704 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
MHoroszowski/Automato-ATITD | scripts/raeli_color_mon.lua | 2 | 2689 |
dofile("screen_reader_common.inc");
dofile("ui_utils.inc");
-- optional message
function askForWindowAndPixel(message)
-- Wait for release if it's already held
while lsShiftHeld() do end;
-- Display message until shift is held
while not lsShiftHeld() do
lsPrintWrapped(0, 0, 1, lsScreenX, 0.7, 0.7, 0xF... | mit |
T4Larson/OpenTomb | scripts/gameflow/TR2.lua | 1 | 8075 | -- Gameflow Script for OpenTomb
-- Game: Tomb Raider: II
-- Version: 1.0
-- By: Gh0stBlade
-----------------------------------------------------------------------------------------------------------------------------------------------
gameflow_paths[Game.II].numlevels = 18;
---------------------------------... | lgpl-3.0 |
JulianVolodia/vicious | contrib/net.lua | 16 | 4539 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) 2009, Henning Glawe <glaweh@debian.org>
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com>
---------------------------------------------------
-- {{{ Grab en... | gpl-2.0 |
cuit-zhaxin/quick-ng | cocos/scripting/lua-bindings/auto/api/TextureCube.lua | 7 | 1637 |
--------------------------------
-- @module TextureCube
-- @extend Texture2D
-- @parent_module cc
--------------------------------
-- reload texture cube after GLESContext reconstructed.
-- @function [parent=#TextureCube] reloadTexture
-- @param self
-- @return bool#bool ret (return value: bool)
----------... | mit |
mahdib9/mah5 | bot/seedbot.lua | 1 | 13564 | 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/utilsLUA")
VERSION = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
ret... | gpl-2.0 |
981213/luci-1 | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua | 68 | 3415 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys.iptparser")
ip = luci.sys.iptparser.IptParser()
chains = { }
targets = { }
for i, rule in ipairs( ip:find() ) do
if rule.chain and rule.target then
chains[rule.chain] ... | apache-2.0 |
TeoTwawki/darkstar | scripts/zones/Nashmau/npcs/Kakkaroon.lua | 2 | 1836 | -----------------------------------
-- Area: Nashmau
-- NPC: Kakkaroon
-- Standard Info NPC
-- !pos 13.245 0.000 -25.307 53
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
local ID = require("scripts/zones/Nashmau/IDs");
-----------------------------------
f... | gpl-3.0 |
oeuftete/wx-xword | scripts/libs/pl/utils.lua | 9 | 14915 | --- Generally useful routines.
-- See @{01-introduction.md.Generally_useful_functions|the Guide}.
-- @module pl.utils
local format,gsub,byte = string.format,string.gsub,string.byte
local compat = require 'pl.compat'
local clock = os.clock
local stdout = io.stdout
local append = table.insert
local unpack = rawget(_G,'u... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Port_Jeuno/npcs/qm1.lua | 2 | 1957 | -----------------------------------
-- Area: Port Jeuno
-- NPC: ???
-- Finish Quest: Borghertz's Hands (AF Hands, Many job)
-- !pos -51 8 -4 246
-----------------------------------
local ID = require("scripts/zones/Port_Jeuno/IDs");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scr... | gpl-3.0 |
TeoTwawki/darkstar | scripts/globals/mobskills/crosswind.lua | 11 | 1102 | ---------------------------------------------
-- Crosswind
--
-- Description: Deals Wind damage to enemies within a fan-shaped area. Additional effect: Knockback
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
require("script... | gpl-3.0 |
TeoTwawki/darkstar | scripts/globals/spells/bind.lua | 12 | 1261 | -----------------------------------------
-- Spell: Bind
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/msg")
require("scripts/globals/status")
-----------------------------------------
function onMagicCastingCheck(caster, target, spell)
return 0
end
function o... | gpl-3.0 |
Elv13/awesome-1 | lib/awful/widget/init.lua | 6 | 1205 | ---------------------------------------------------------------------------
--- Widget module for awful
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008-2009 Julien Danjou
-- @classmod awful.widget
---------------------------------------------------------------------------
return
{
taglist... | gpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Caedarva_Mire/Zone.lua | 2 | 2047 | -----------------------------------
--
-- Zone: Caedarva_Mire (79)
--
-----------------------------------
local ID = require("scripts/zones/Caedarva_Mire/IDs")
require("scripts/globals/missions")
require("scripts/globals/titles")
require("scripts/globals/helm")
require("scripts/globals/zone")
--------------------------... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Zeruhn_Mines/IDs.lua | 3 | 1412 | -----------------------------------
-- Area: Zeruhn_Mines
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.ZERUHN_MINES] =
{
text =
{
CONQUEST_BASE = 0, -- Tallying conquest results...
ITEM_C... | gpl-3.0 |
IoveSunny/DreamBox | feeds/luci/luci/luci/applications/luci-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua | 14 | 5674 | --[[
Luci diag - Diagnostics controller module
(c) 2009 Daniel Dickinson
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
]]--
module("luci.cont... | gpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Southern_San_dOria/npcs/Trail_Markings.lua | 3 | 2625 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Trail Markings
-- Dynamis-San d'Oria Enter
-- !pos 139 -2 122 230
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/dynamis");
local ID = require("scripts/zones/... | gpl-3.0 |
celophi/melia | system/scripts/npc/dungeon/d_underfortress_66.lua | 1 | 85161 | ----- Royal Army Guard Delus -----
----- npcselectdialog.ies | ClassName: UNDER66_DELLOOS01 -----
----- Dialog -----
----- QuestIDs: UNDERFORTRESS_66_MQ010 | UNDERFORTRESS_66_MQ020 | UNDERFORTRESS_66_MQ030 | UNDERFORTRESS_66_MQ040 -----
addnpc(20019, "ETC_20150717_013209", "d_underfortress_66", 1119, 137, -6, 20, "npc... | gpl-3.0 |
GoogleCloudPlatform/ops-agent | confgenerator/testdata/valid/linux/logging-receiver_hadoop/4e27215af24d890aac36d668be04c8a1.lua | 2 | 1159 |
function process(tag, timestamp, record)
local __field_0 = (function()
return record["agent.googleapis.com/log_file_path"]
end)();
local __field_1 = (function()
if record["logging.googleapis.com/labels"] == nil
then
return nil
end
return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"]
e... | apache-2.0 |
TeoTwawki/darkstar | scripts/globals/items/plate_of_bream_sushi_+1.lua | 11 | 1374 | -----------------------------------------
-- ID: 5177
-- Item: plate_of_bream_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 5
-- Accuracy % 17 (cap 80)
-- Ranged ACC % 17 (cap 80)
-- Sleep Resist 2
-----------------------------------------
require("script... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Bastok_Markets/npcs/Salimah.lua | 11 | 2867 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Salimah
-- Notes: Start & Finishes Quest: Gourmet
-- !pos -31.687 -6.824 -73.282 235
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/titles");
local ID = require("scripts/zones/Bastok_Markets/IDs");
requ... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/_6eo.lua | 2 | 1113 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Door:House
-- !pos 148 0 27 80
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria_[S]/IDs")
require("scripts/globals/quests");
require("scripts/globals/settings");
-----------------------------------
funct... | gpl-3.0 |
TeoTwawki/darkstar | scripts/globals/items/bowl_of_tender_navarin.lua | 11 | 1718 | -----------------------------------------
-- ID: 4284
-- Item: Bowl of Tender Navarin
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 3 (cap 130)
-- Strength 3
-- Agility 1
-- Vitality 1
-- Intelligence -1
-- Attack % 27 (cap 35)
-- Ranged ATT % 27 (cap 35)
-- Evasion 5
---------... | gpl-3.0 |
Elv13/awesome-1 | tests/test-awful-widget-calendar_popup.lua | 10 | 2181 | --- Test for awful.widget.calendar
local runner = require("_runner")
local awful = require("awful")
local calendar = require("awful.widget.calendar_popup")
local wa = awful.screen.focused().workarea
local cmonth = calendar.month()
local cyear = calendar.year()
local current_date = os.date("*t")
local day, month, ye... | gpl-2.0 |
ThisIsRedonkulous/HoneyBee | Angel-3.2/Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/class.lua | 12 | 5169 | --- Provides a reuseable and convenient framework for creating classes in Lua.
-- Two possible notations:
--
-- B = class(A)
-- class.B(A)
--
-- The latter form creates a named class.
--
-- See the Guide for further @{01-introduction.md.Simplifying_Object_Oriented_Programming_in_Lua|discussion}
-- @module pl.clas... | gpl-2.0 |
celophi/melia | system/scripts/npc/field/f_huevillage_58_4.lua | 1 | 7365 | ----- Master Altar Barrier -----
----- npcselectdialog.ies | ClassName: HUEVILLAGE_58_4_MQ01_NPC01 -----
----- Dialog -----
----- QuestIDs: HUEVILLAGE_58_4_MQ02 -----
addnpc(147469, "ETC_20150317_009353", "f_huevillage_58_4", 43, 33, -343, 45, "npc_ETC_20150317_009353")
function npc_ETC_20150317_009353()
msg("GM_QUEST... | gpl-3.0 |
miralireza2/last_stand | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
Death15/SuperSwatch | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
TeoTwawki/darkstar | scripts/globals/spells/hojo_ni.lua | 12 | 1459 | -----------------------------------------
-- Spell: Hojo:Ni
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onM... | gpl-3.0 |
dxmgame/dxm-cocos | src/apps/lua-empty-test/Resources/src/cocos/cocos2d/DrawPrimitives.lua | 98 | 12024 |
local dp_initialized = false
local dp_shader = nil
local dp_colorLocation = -1
local dp_color = { 1.0, 1.0, 1.0, 1.0 }
local dp_pointSizeLocation = -1
local dp_pointSize = 1.0
local SHADER_NAME_POSITION_U_COLOR = "ShaderPosition_uColor"
local targetPlatform = cc.Application:getInstance():getTargetPlatform()
lo... | mit |
TeoTwawki/darkstar | scripts/zones/Apollyon/npcs/Armoury_Crate.lua | 10 | 22694 | -----------------------------------
-- Area: Apollyon
-- NPC: Armoury Crate
-----------------------------------
require("scripts/globals/titles")
require("scripts/globals/quests")
require("scripts/globals/limbus")
-----------------------------------
local loot =
{
-- SE_Apollyon floor 1
[110] =
{
... | gpl-3.0 |
wiremod/wire | lua/entities/gmod_wire_gpu/cl_gpuvm.lua | 3 | 84087 | --------------------------------------------------------------------------------
-- Override virtual machine functions and features
--------------------------------------------------------------------------------
local VM = {}
surface.CreateFont( "WireGPU_ErrorFont",{
font="Coolvetica",
size = 26,
weight = 200,
an... | apache-2.0 |
TeoTwawki/darkstar | scripts/globals/items/plate_of_squid_sushi.lua | 11 | 1515 | -----------------------------------------
-- ID: 5148
-- Item: plate_of_squid_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 30
-- Dexterity 6
-- Agility 5
-- Mind -1
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 1
-----------------------------------------
require("scri... | gpl-3.0 |
ReWrite94/iLife | client/Guis/Gamemode/cGamemodeGUI.lua | 2 | 8435 | --
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 05.02.2015
-- Time: 13:38
-- To change this template use File | Settings | File Templates.
--
cGamemodeGUI = {};
--[[
]]
-- ///////////////////////////////
-- ///// New //////
-- ///// Returns: Object //////
-- ///////////////////////////////
function ... | mit |
TeoTwawki/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/_5a0.lua | 1 | 2065 | -----------------------------------
-- Area: King Ranperre's Tomb
-- DOOR: _5a0 (Heavy Stone Door)
-- !pos -39.000 4.823 20.000 190
-----------------------------------
local ID = require("scripts/zones/King_Ranperres_Tomb/IDs")
require("scripts/globals/missions")
-----------------------------------
function onTrade(pl... | gpl-3.0 |
Elv13/awesome-1 | docs/_parser.lua | 2 | 5463 | local gio = require("lgi").Gio
local gobject = require("lgi").GObject
local glib = require("lgi").GLib
local name_attr = gio.FILE_ATTRIBUTE_STANDARD_NAME
local type_attr = gio.FILE_ATTRIBUTE_STANDARD_TYPE
local module = {}
-- Like pairs(), but iterate over keys in a sorted manner. Does not support
-- modifying the t... | gpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Windurst_Waters/npcs/Piketo-Puketo.lua | 12 | 1605 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Piketo-Puketo
-- Type: Cooking Guild Master
-- !pos -124.012 -2.999 59.998 238
-----------------------------------
local ID = require("scripts/zones/Windurst_Waters/IDs");
require("scripts/globals/crafting");
require("scripts/globals/status");
------... | gpl-3.0 |
ThisIsRedonkulous/HoneyBee | Angel-3.2/Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-path.lua | 10 | 1407 | local path = require 'pl.path'
asserteq = require 'pl.test'.asserteq
function quote(s)
return '"'..s..'"'
end
function print2(s1,s2)
print(quote(s1),quote(s2))
end
function testpath(pth,p1,p2,p3)
local dir,rest = path.splitpath(pth)
local name,ext = path.splitext(rest)
asserteq(dir,p1)
asserteq(nam... | gpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e4.lua | 3 | 1165 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Right) - Holla
-- !pos -242.301 -1.849 269.867 14
-----------------------------------
local ID = require("scripts/zones/Hall_of_Transference/IDs");
-----------------------------------
function onTrade(player,npc,trade)
if (... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua | 12 | 1300 | -----------------------------------
-- Area: Port Windurst
-- NPC: Erabu-Fumulubu
-- Type: Fishing Synthesis Image Support
-- !pos -178.900 -2.789 76.200 240
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
local ID = require("scripts/zones/Port_Windurst/IDs")... | gpl-3.0 |
IoveSunny/DreamBox | feeds/luci/luci/luci/protocols/relay/luasrc/model/network/proto_relay.lua | 9 | 3435 | --[[
LuCI - Network model - relay protocol extension
Copyright 2011 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
... | gpl-2.0 |
TeoTwawki/darkstar | scripts/globals/items/vongola_clam.lua | 11 | 1432 | -----------------------------------------
-- ID: 5131
-- Item: Vongola Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defense +17% - 50 Cap
-- HP 5% - 50 Cap
-----------------------------------------
require("scripts/globals/status")
require("scripts/gl... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Cape_Teriggan/Zone.lua | 12 | 2022 | -----------------------------------
--
-- Zone: Cape_Teriggan (113)
--
--------- --------------------------
local ID = require("scripts/zones/Cape_Teriggan/IDs")
-----------------------------------
require("scripts/globals/icanheararainbow")
require("scripts/globals/conquest")
require("scripts/globals/weathe... | gpl-3.0 |
TeoTwawki/darkstar | scripts/globals/weaponskills/blade_ei.lua | 10 | 1231 | -----------------------------------
-- Blade Ei
-- Katana weapon skill
-- Skill Level: 175
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Shadow Gorget.
-- Aligned with the Shadow Belt.
-- Element: Dark
-- Modifiers: STR:30% INT:30%
-- 100%TP 200%TP 300%TP
-- 1.00 1.50 ... | gpl-3.0 |
dxmgame/dxm-cocos | src/apps/lua-tests/Resources/src/MenuTest/MenuTest.lua | 16 | 18464 | local kTagMenu = 1
local kTagMenu0 = 0
local kTagMenu1 = 1
local MID_CALLBACK = 1000
local MID_CALLBACK2 = 1001
local MID_DISABLED = 1002
local MID_ENABLE = 1003
local MID_CONFIG = 1004
local MID_QUIT = 1005
local MID_OPACITY = 1006
local MID_ALIGN = 1007
local MID_C... | mit |
wildstarnasa/LibBusted | Luassert/util.lua | 3 | 3795 | local MAJOR, MINOR = "Olivine:Luassert:Util-1.0", 1
-- Get a reference to the package information if any
local APkg = Apollo.GetPackage(MAJOR)
-- If there was an older version loaded we need to see if this is newer
if APkg and (APkg.nVersion or 0) >= MINOR then
return
end
------------------------------------------... | mit |
X-Coder/SBEP-Weapons | lua/effects/tinywhomphsplode/init.lua | 1 | 3613 |
--[[---------------------------------------------------------
Initializes the effect. The data is a table of data
which was passed from the server.
---------------------------------------------------------]]
function EFFECT:Init( data )
-- This is how long the spawn effect
-- takes from star... | apache-2.0 |
TeoTwawki/darkstar | scripts/zones/Lower_Jeuno/npcs/Creepstix.lua | 12 | 1090 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Creepstix
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Lower_Jeuno/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
TeoTwawki/darkstar | scripts/globals/spells/bluemagic/firespit.lua | 12 | 1259 | -----------------------------------------
-- Spell: Firespit
-- Deals fire damage to an enemy
-- Spell cost: 121 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 5
-- Stat Bonus: STR+3
-- Level: 68
-- Casting Time: 6.5 seconds
-- Recast Time: 42.75 seconds
-- Magic Bursts on: Liquefactio... | gpl-3.0 |
TeoTwawki/darkstar | scripts/zones/Dynamis-San_dOria/bcnms/dynamis_sandoria.lua | 1 | 1484 | -----------------------------------
-- Area: Dynamis San d'Oria
-- Name: Dynamis San d'Oria
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldTick(battlefield, tick)
dsp.battlefield.onBattlefieldTick(battlefield, tick)
end
-- After registering the BCNM via bcnmRegist... | gpl-3.0 |
IoveSunny/DreamBox | feeds/luci/luci/luci/libs/sgi-cgi/luasrc/sgi/cgi.lua | 13 | 2301 | --[[
LuCI - SGI-Module for CGI
Description:
Server Gateway Interface for CGI
FileId:
$Id: cgi.lua 6535 2010-11-23 01:02:21Z soma $
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... | gpl-2.0 |
TeoTwawki/darkstar | scripts/zones/Mine_Shaft_2716/bcnms/century_of_hardship.lua | 1 | 2052 | -----------------------------------
-- Area: Mine_Shaft_2716
-- Name: century_of_hardship
-- bcnmID : 736
-- inst 2 -54 -1 -100
-- inst 3 425 -121 -99
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/battlefield")
-- After registering the BCNM via bcnmRegister(bcnmid)
... | gpl-3.0 |
981213/luci-1 | protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua | 3 | 1418 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2013 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local netmod = luci.model.network
local _, p
for _, p in ipairs({"dslite", "map", "464xlat"}) do
local proto = netmod:register_protocol(p)
function proto.... | apache-2.0 |
prapin/premake-core | tests/actions/vstudio/sln2005/test_header.lua | 9 | 1350 | --
-- tests/actions/vstudio/sln2005/test_header.lua
-- Validate generation of Visual Studio 2005+ solution header.
-- Copyright (c) 2009-2014 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_sln2005_header")
local sln2005 = premake.vstudio.sln2005
--
-- Setup
--
local wks, prj
funct... | bsd-3-clause |
TeoTwawki/darkstar | scripts/zones/Dynamis-Xarcabard/bcnms/dynamis_xarcabard.lua | 1 | 1596 | -----------------------------------
-- Area: Dynamis Xarcabard
-- Name: Dynamis Xarcabard
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldTick(battlefield, tick)
dsp.battlefield.onBattlefieldTick(battlefield, tick)
end
-- After registering the BCNM via bcnmRegister... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.