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 |
|---|---|---|---|---|---|
n0xus/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Duke_Scox.lua | 16 | 1253 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Duke Scox
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function on... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#3.lua | 17 | 1251 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#3
-- @pos -189 -8 26 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/glo... | gpl-3.0 |
kurthuwig/faces | Watchfaces/mike_tolly/binary/face.lua | 1 | 1405 | -- This file is part of the Watchfaces project.
-- Read the file README.md for copyright and other information
function about()
local result = {}
result.author = "Mike Tolly"
result.name = "Binary"
return result
end
COLORS = {
0x05fe05,
0x0505fe,
0xcc0505,
0xf2760f,
}
function drawB... | apache-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/libs/nixio/docsrc/nixio.lua | 151 | 15824 | --- General POSIX IO library.
module "nixio"
--- Look up a hostname and service via DNS.
-- @class function
-- @name nixio.getaddrinfo
-- @param host hostname to lookup (optional)
-- @param family address family [<strong>"any"</strong>, "inet", "inet6"]
-- @param service service name or port (optional)
-- @return ... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Mhaura/npcs/Kamilah.lua | 17 | 1174 | -----------------------------------
-- Area: Mhaura
-- NPC: Kamilah
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -64.302 -16.000 35.261 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
yangm97/GroupButler | lua/plugins/private.lua | 1 | 3110 | local config = require 'config'
local u = require 'utilities'
local api = require 'methods'
local locale = require 'languages'
local i18n = locale.translate
local plugin = {}
local function do_keyboard_credits()
local keyboard = {}
keyboard.inline_keyboard = {
{
{text = i18n("Channel"), url = 'https://telegram... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mhasbaf.lua | 37 | 1030 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mhasbaf
-- Type: Standard NPC
-- @pos 54.701 -6.999 11.387 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whit... | gpl-3.0 |
omidtarh/wezardbot | plugins/moderation.lua | 336 | 9979 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
local username = v.username
data[tostring(m... | gpl-2.0 |
hamed9898/maxbott | plugins/moderation.lua | 336 | 9979 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
local username = v.username
data[tostring(m... | gpl-2.0 |
ArmanIr/ProFbOt | plugins/moderation.lua | 336 | 9979 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
local username = v.username
data[tostring(m... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/base/luasrc/model/firewall.lua | 84 | 11156 | --[[
LuCI - Firewall model
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
Unless required by applica... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-BlackrockFoundry/IronMaidens.lua | 1 | 19352 | local mod = DBM:NewMod(1203, "DBM-BlackrockFoundry", nil, 457)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 12920 $"):sub(12, -3))
mod:SetCreatureID(77557, 77231, 77477)
mod:SetEncounterID(1695)
mod:SetZone()
mod:SetBossHPInfoToHighest()
mod:SetUsedIcons(5, 4, 3, 2, 1)
mod:SetModelSound("sound\\cr... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua | 83 | 3272 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
m = ... | gpl-2.0 |
mwgoldsmith/vlc | share/lua/playlist/bbc_co_uk.lua | 112 | 1468 | --[[
$Id$
Copyright © 2008 the VideoLAN team
Authors: Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
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 Licens... | gpl-2.0 |
xubigshu/skynet | lualib/sharedata/corelib.lua | 1 | 2607 | local core = require "sharedata.core"
local type = type
local next = next
local rawget = rawget
local conf = {}
conf.host = {
new = core.new,
delete = core.delete,
getref = core.getref,
markdirty = core.markdirty,
incref = core.incref,
decref = core.decref,
}
local meta = {}
local isdirty = core.isdirty
local... | mit |
xennygrimmato/nmt | src/OpenNMT/tools/build_vocab.lua | 7 | 1515 | require('onmt.init')
local cmd = onmt.utils.ExtendedCmdLine.new('build_vocab.lua')
local options = {
{
'-data', '',
[[Data file.]],
{
valid = onmt.utils.ExtendedCmdLine.fileExists
}
},
{
'-save_vocab', '',
[[Vocabulary dictionary prefix.]],
{
valid = onmt.utils.ExtendedCm... | lgpl-3.0 |
n0xus/darkstar | scripts/globals/abilities/pets/ecliptic_howl.lua | 20 | 1294 | ---------------------------------------------------
-- Aerial Armor
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/utils");
----------------------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Woh_Gates/Zone.lua | 34 | 1270 | -----------------------------------
--
-- Zone: Woh Gates
--
-----------------------------------
package.loaded["scripts/zones/Woh_Gates/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Woh_Gates/TextIDs");
-----------------------------------
... | gpl-3.0 |
CameronHynes/OpenRA | mods/d2k/maps/atreides-03a/atreides03a.lua | 13 | 5114 | OrdosBase = { OBarracks, OWindTrap1, OWindTrap2, OWindTrap3, OWindTrap4, OLightFactory, OOutpost, OConyard, ORefinery, OSilo1, OSilo2, OSilo3, OSilo4 }
OrdosReinforcements =
{
Easy =
{
{ "light_inf", "raider", "trooper" },
{ "light_inf", "raider", "quad" },
{ "light_inf", "light_inf", "trooper", "raider", "rai... | gpl-3.0 |
n0xus/darkstar | scripts/globals/mobskills/Bai_Wing.lua | 25 | 1095 | ---------------------------------------------
-- Bai Wing
--
-- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Ouryu and Cuelebre while fl... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/lua/pl/class.lua | 3 | 9388 | --- Provides a reuseable and convenient framework for creating classes in Lua.
-- Two possible notations: <code> B = class(A) </code> or <code> class.B(A) </code>.
-- The latter form creates a named class.
-- This module also provides Map and Set classes.
-- See the Guide for further <a href="../../index.html#class">di... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ct.lua | 17 | 2441 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5ct (Magical Gizmo) #5
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
RockySeven3161/Unknown.. | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
E-Neo/graphx | src/graphx/algorithms/traversal/depth_first_search.lua | 1 | 3374 | local Stack = require "graphx.utils.stack"
local get_unvisited = function (G, n, visited)
for nbr in pairs(G:neighbors(n)) do
if not visited[nbr] then
return nbr
end
end
return nil
end
local dfs_edges = function (G, source)
local res = {}
local nodes = source and {source} or G:nod... | mit |
joewan/protoc-gen-lua | protobuf/encoder.lua | 15 | 14967 | --
--------------------------------------------------------------------------------
-- FILE: encoder.lua
-- DESCRIPTION: protoc-gen-lua
-- Google's Protocol Buffers project, ported to lua.
-- https://code.google.com/p/protoc-gen-lua/
--
-- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com
-- ... | bsd-3-clause |
ppriest/mame | scripts/src/osd/sdl.lua | 3 | 12481 | -- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- sdl.lua
--
-- Rules for the building with SDL
--
---------------------------------------------------------------------------
dofile("modules.lua")
function maintargetosdopt... | gpl-2.0 |
LuffyPan/skynet | test/testredis2.lua | 82 | 1043 | local skynet = require "skynet"
local redis = require "redis"
local db
function add1(key, count)
local t = {}
for i = 1, count do
t[2*i -1] = "key" ..i
t[2*i] = "value" .. i
end
db:hmset(key, table.unpack(t))
end
function add2(key, count)
local t = {}
for i = 1, count do
... | mit |
n0xus/darkstar | scripts/zones/Windurst_Walls/npcs/Shantotto.lua | 17 | 7967 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Shantotto
-- @pos 122 -2 112 239
-- CSID's missing in autoEventID please check the old forums under resources for all of shantotto's csid's. I found them all manually.
-----------------------------------
package.loaded["scripts/zones/Windurst_W... | gpl-3.0 |
n0xus/darkstar | scripts/zones/RuAun_Gardens/npcs/qm1.lua | 16 | 1435 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Genbu's Spawn)
-- Allows players to spawn the HNM Genbu with a Gem of the North and a Winterstone.
-- @pos 257 -70 517 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-------------------... | gpl-3.0 |
dmccuskey/dmc-netstream | dmc_corona/lib/dmc_lua/lua_patch.lua | 44 | 7239 | --====================================================================--
-- lua_patch.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (c) 2014-2015 David McCuskey
Permission is hereby granted, free ... | mit |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/mk/src/mk/cache.lua | 2 | 4395 |
local mk = require "mk"
local util = require "mk.util"
local md5 = require "md5"
local lfs
local _M = {}
_M.methods = {}
_M.methods.__index = _M.methods
local function pathinfo_to_file(cache, path_info)
path_info = path_info:match("^/?(.-)/?$")
local pi, ext = path_info:match("^(.+)%.([^%./]+)$")
if not ext t... | lgpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lanes/tests/launchtest.lua | 4 | 2018 | --
-- LAUNCHTEST.LUA Copyright (c) 2007-08, Asko Kauppi <akauppi@gmail.com>
--
-- Tests launching speed of N threads
--
-- Usage:
-- [time] lua -lstrict launchtest.lua [threads] [-libs[=io,os,math,...]]
--
-- threads: number of threads to launch (like: 2000) :)
-- libs: combination of "os","io","ma... | lgpl-3.0 |
n0xus/darkstar | scripts/globals/items/cherry_muffin.lua | 37 | 1344 | -----------------------------------------
-- ID: 5653
-- Item: Cherry Muffin
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Intelligence 1
-- Magic % 10
-- Magic Cap 80
-- Agility -1
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
n0xus/darkstar | scripts/globals/mobskills/Cryo_Jet.lua | 18 | 1243 | ---------------------------------------------------
-- Cryo_Jet
-- Description:
-- Type: Magical
-- additional effect : Paralyze
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------------... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/fish_mithkabob.lua | 35 | 1468 | -----------------------------------------
-- ID: 4398
-- Item: fish_mithkabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind -1
-- Defense % 25
-- Defense Cap 90
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Saliyahf.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Saliyahf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
arianne/stendhal | data/script/region/semos/music.lua | 3 | 1256 | --[[
***************************************************************************
* Copyright © 2020 - Arianne *
***************************************************************************
***************************************************************************
* ... | gpl-2.0 |
chengyi818/openwrt | feeds/routing/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/advanced.lua | 18 | 2129 | --[[
Copyright (C) 2011 Pau Escrich <pau@dabax.net>
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 your option) any later version.
Th... | gpl-2.0 |
linmajia/dlbench | synthetic/experiments/torch/fc/ffn.lua | 4 | 2065 | require 'sys';
require 'bit';
require 'cunn';
require 'cudnn';
require 'optim';
torch.setdefaulttensortype('torch.FloatTensor')
local steps = 1000 -- number of runs
local Linear = nn.Linear
local Transfer = nn.Sigmoid
local isize = 512
local hsize = 2048
local osize = 1000
-- Network definition
local mlp = nn.Sequen... | mit |
coderpunch/evolvemod | lua/evolve/plugins/sh_stripweapons.lua | 1 | 1276 | --[[-----------------------------------------------------------------------------------------------------------------------
Strip a player's weapons
-----------------------------------------------------------------------------------------------------------------------]]--
local PLUGIN = {}
PLUGIN.Title = "Strip Weapo... | apache-2.0 |
n0xus/darkstar | scripts/zones/Apollyon/mobs/Water_Elemental.lua | 112 | 2441 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Apollyon/mobs/Earth_Elemental.lua | 112 | 2441 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
deezl/homedecor_lite | lrfurn/coffeetable.lua | 1 | 3371 | minetest.register_node("lrfurn:coffeetable_back", {
description = "Coffee Table",
drawtype = "nodebox",
tiles = {"lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png"},
paramtype = ... | unlicense |
n0xus/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rp.lua | 17 | 1628 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna... | gpl-3.0 |
Python1320/wire | lua/effects/thruster_ring_grow.lua | 10 | 1652 |
EFFECT.Mat = Material( "effects/select_ring" )
/*---------------------------------------------------------
Initializes the effect. The data is a table of data
which was passed from the server.
---------------------------------------------------------*/
function EFFECT:Init( data )
local size = 16
self:SetCol... | apache-2.0 |
MOSAVI17/Informationbot | config.lua | 1 | 1786 | return {
bot_api_key = '172514446:AAEt89gtrpGUiTlu0OXoc7X9Fjk0_90ri2E',
google_api_key = '',
google_cse_key = '',
lastfm_api_key = '',
owm_api_key = '',
biblia_api_key = '',
thecatapi_key = '',
nasa_api_key = '',
time_offset = 0,
lang = 'en',
antisquig = false,
cli_port = 4567,
admin = 00000000,
admin_nam... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Buburimu_Peninsula/Zone.lua | 17 | 4632 | -----------------------------------
--
-- Zone: Buburimu_Peninsula (118)
--
-----------------------------------
package.loaded[ "scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Penins... | gpl-3.0 |
aqasaeed/infernal | plugins/Banhammer.lua | 22 | 10356 |
local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id... | gpl-2.0 |
n0xus/darkstar | scripts/globals/abilities/scavenge.lua | 18 | 2406 | -----------------------------------
-- Ability: Scavenge
-- Searches the ground around user for items.
-- Obtained: Ranger Level 10
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/blind_ii.lua | 18 | 1733 | -----------------------------------------
-- Spell: Blind II
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Blind II value per point is '1' This is a constant set in the table 'merits'
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
n0xus/darkstar | scripts/globals/abilities/chaos_roll.lua | 9 | 3293 | -----------------------------------
-- Ability: Chaos Roll
-- Enhances attack for party members within area of effect
-- Optimal Job: Dark Knight
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 14
--
-- Die Roll |No DRK |With DRK
-- -------- -------- -----------
-- 1 |6% |16%
-- 2 ... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/bluemagic/geist_wall.lua | 18 | 1333 | -----------------------------------------
-- Spell: Geist Wall
-- Removes one beneficial magic effect from enemies within range
-- Spell cost: 35 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 3
-- Stat Bonus: HP-5, MP+10
-- Level: 46
-- Casting Time: 3 seconds
-- Recast Time:... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kopol-Rapol.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kopol-Rapol
-- Type: Standard NPC
-- @zone: 94
-- @pos 131.179 -6.75 172.758
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
hamishcunningham/fishy-wifi | lua/size-bug/sizebug300.lua | 4 | 8159 | sizebug = {}
function sizebug.trigger()
print("000000000000001")
print("000000000000002")
print("000000000000003")
print("000000000000004")
print("000000000000005")
print("000000000000006")
print("000000000000007")
print("000000000000008")
print("000000000000009")
print("000000000000010")
print("0... | agpl-3.0 |
hamishcunningham/fishy-wifi | lua/size-bug/sizebug.lua | 4 | 8159 | sizebug = {}
function sizebug.trigger()
print("000000000000001")
print("000000000000002")
print("000000000000003")
print("000000000000004")
print("000000000000005")
print("000000000000006")
print("000000000000007")
print("000000000000008")
print("000000000000009")
print("000000000000010")
print("0... | agpl-3.0 |
Partysofa/Conquest | stats.lua | 1 | 1226 | require "population"
require "resources"
require "LoveFrames"
local stats = loveframes.Create("frame")
stats:SetName("Statistics")
stats:SetSize(400, 250)
stats:SetDockable(true)
stats:SetAlwaysUpdate(true)
local list = loveframes.Create("columnlist", stats)
list:SetPos(5, 30)
list:SetSize(390, 215)
list... | mit |
misterdustinface/gamelib-common-polyglot | src/love-game/wrap-love-graphics.lua | 1 | 4317 | return function(love)
local graphics = (require '../engine/slang/easy-tree')()
local isFullScreen = false
local paletteColors = { default = {255, 255, 255, 255} }
local NOT_IMPLEMENTED = function() error('not implemented') end
graphics.print = love.graphics.print
graphics.printf = love.graphics.printf
g... | gpl-2.0 |
ppriest/mame | scripts/src/cpu.lua | 1 | 85709 | -- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- cpu.lua
--
-- Rules for building CPU cores
--
---------------------------------------------------------------------------
--------------------------------------------------
-... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/base/luasrc/ltn12.lua | 83 | 11303 | --[[
LuaSocket 2.0.2 license
Copyright � 2004-2007 Diego Nehab
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, me... | gpl-2.0 |
MOSAVI17/Informationbot | plugins/time.lua | 16 | 1316 | local command = 'time <location>'
local doc = [[```
/time <location>
Returns the time, date, and timezone for the given location.
```]]
local triggers = {
'^/time[@'..bot.username..']*'
}
local action = function(msg)
local input = msg.text:input()
if not input then
if msg.reply_to_message and msg.reply_to_messa... | gpl-2.0 |
n0xus/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm2.lua | 17 | 1840 | -----------------------------------
-- Area: The Sanctuary of ZiTah
-- NPC: qm2 (???)
-- Involved in Quest: Forge Your Destiny
-- @pos 639 -1 -151 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Python1320/wire | lua/wire/stools/cpu.lua | 9 | 15487 | WireToolSetup.setCategory( "Chips, Gates", "Advanced" )
WireToolSetup.open( "cpu", "CPU", "gmod_wire_cpu", nil, "CPUs" )
if CLIENT then
language.Add("Tool.wire_cpu.name", "CPU Tool (Wire)")
language.Add("Tool.wire_cpu.desc", "Spawns a central processing unit")
language.Add("Tool.wire_cpu.0", "Primary: upload pro... | apache-2.0 |
aqasaeed/infernal | bot/utils.lua | 646 | 23489 | 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 |
chengyi818/openwrt | customer/packages/luci/protocols/hso/luasrc/model/cbi/admin_network/proto_hso.lua | 14 | 4573 | --[[
LuCI - Lua Configuration Interface
Copyright 2015 Stanislas Bertrand <stanislasbertrand@gmail.com>
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 |
shayanchabok007/antispamfox | 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 |
glycerine/goq | vendor/git.apache.org/thrift.git/lib/lua/TJsonProtocol.lua | 42 | 18656 | --
-- 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 ma... | bsd-2-clause |
xaque208/dotfiles | vim/nvim/lua/user/zk.lua | 1 | 1050 | local zk = require("zk")
zk.setup({
-- can be "telescope", "fzf" or "select" (`vim.ui.select`)
-- it's recommended to use "telescope" or "fzf"
picker = "telescope",
lsp = {
-- `config` is passed to `vim.lsp.start_client(config)`
config = {
cmd = { "zk", "lsp" },
name = "zk",
-- on_attach = ...
-- ... | mit |
n0xus/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Statue_Prototype.lua | 16 | 1244 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Statue Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scri... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Bastok_Mines/npcs/Crying_Wind_IM.lua | 28 | 4888 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Crying Wind, I.M.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Miss... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Valkurm_Dunes/npcs/Nyata-Mobuta_WW.lua | 30 | 3056 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Nyata-Mobuta, W.W.
-- Type: Outpost Conquest Guards
-- @pos 139.394 -7.885 100.384 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conque... | gpl-3.0 |
metadeus/luv | checktypes.lua | 1 | 1278 | local select, type, table, ipairs, unpack, error, debug = select, type, table, ipairs, unpack, error, debug
module(...)
local function expect (valType, value)
if "table" == type(valType) and valType.isA then
if "table" ~= type(value) or not value.isA or not value:isA(valType) then
error("not a valid object give... | bsd-3-clause |
n0xus/darkstar | scripts/globals/items/caedarva_frog.lua | 18 | 1400 | -----------------------------------------
-- ID: 5465
-- Item: Caedarva Frog
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/dark_carol.lua | 18 | 1502 | -----------------------------------------
-- Spell: Dark Carol
-- Increases dark resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Party-WoD/BloodmaulSlagMines/BSMTrash.lua | 1 | 2738 | local mod = DBM:NewMod("BSMTrash", "DBM-Party-WoD", 2)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 12458 $"):sub(12, -3))
--mod:SetModelID(47785)
mod:SetZone()
mod.isTrashMod = true
mod:RegisterEvents(
"SPELL_AURA_APPLIED 164597 151548 151697 151965 151558 151581",
"SPELL_CAST_START 152298 15... | gpl-2.0 |
n0xus/darkstar | scripts/globals/items/imperial_omelette.lua | 35 | 2869 |
-----------------------------------------
-- ID: 4331
-- Item: imperial_omelette
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Non Elvaan Stats
-- Strength 5
-- Dexterity 2
-- Intelligence -3
-- Mind 4
-- Attack % 22
-- Attack Cap 70
-- Ranged ATT % 22
-- Ranged ATT Cap 7... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/regen_ii.lua | 18 | 1525 | -----------------------------------------
-- Spell: Regen II
-- Gradually restores target's HP.
-----------------------------------------
-- Cleric's Briault enhances the effect
-- Scale down duration based on level
-- Composure increases duration 3x
-----------------------------------------
require("scripts/... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Temenos/mobs/Beli.lua | 16 | 1188 | -----------------------------------
-- Area: Temenos N T
-- NPC: Beli
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
--------------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Waughroon_Shrine/bcnms/prehistoric_pigeons.lua | 17 | 1788 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: Prehistoric Pigeons
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
n0xus/darkstar | scripts/globals/mobskills/Bloody_claw.lua | 13 | 1312 | ---------------------------------------------
-- Terror Eye
-- Family: Gargouille
-- Description: Steals an enemy's HP. Additional effect: Reduces a random stat.
-- Type: Physical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Melee
-- Notes: Despite the attack ignoring Utsusemi, it is physical, and... | gpl-3.0 |
filipeaneto/magicia-prototype | zoetrope/sprites/tile.lua | 2 | 3887 | -- Class: Tile
-- A tile repeats a single image across its dimensions. If you do
-- not specify a width and height, the sprite will size itself so
-- that it's exactly as big as its source image.
--
-- Extends:
-- <Sprite>
Tile = Sprite:extend
{
-- Property: image
-- The image to tile across the sprite.
-- Proper... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm9.lua | 34 | 1385 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm9 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -140.039 -5.500 285.999 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Metalworks/npcs/Alois.lua | 17 | 2128 | -----------------------------------
-- Area: Metalworks
-- NPC: Alois
-- Involved in Missions: Wading Beasts
-- @pos 96 -20 14 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
n0xus/darkstar | scripts/globals/weaponskills/shield_break.lua | 18 | 1877 | -----------------------------------
-- Shield Break
-- Great Axe weapon skill
-- Skill level: 5
-- Lowers enemy's Evasion. Duration of effect varies with TP.
-- Lowers Evasion by as much as 40 if unresisted.
-- Strong against: Bees, Beetles, Birds, Crabs, Crawlers, Flies, Lizards, Mandragora, Opo-opo, Pugils, Sab... | gpl-3.0 |
n0xus/darkstar | scripts/zones/RuLude_Gardens/npcs/Marshal.lua | 38 | 1032 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Marshal
-- Type: Marshal
-- @zone: 243
-- @pos 41.143 -0.998 -26.566
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------... | gpl-3.0 |
n0xus/darkstar | scripts/globals/abilities/pets/flame_breath.lua | 25 | 1252 | ---------------------------------------------------
-- Flame Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCh... | gpl-3.0 |
filipeaneto/magicia-prototype | zoetrope/sprites/animation.lua | 2 | 7398 | -- Class: Animation
-- An animation displays a sequence of frames. If you do not specify
-- a width and height for the sprite, it will size itself so that
-- it is a square, where each side is as tall as the source image's height.
--
--
-- Event: onEndSequence
-- Called whenever an animation sequence ends. It is passed... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Riverne-Site_A01/npcs/HomePoint#1.lua | 19 | 1189 | -----------------------------------
-- Area: Riverne-Site A01
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
seclorum/load81 | examples/falldown.lua | 3 | 7496 | -- falldown, lua edition \o/
-- © 2k12 r043v/dph
-- init function, launched at start
function setup()
-- game option
game = { map = { data = {}, sizey = 6000, speed = 450, scroll = 0, bg = {255,0,255}, tile = { size = { x=50, y=50 }, color = { {255,0,0},{0,255,0},{0,0,255},{255,255,0},{0,255,255} } } },
... | bsd-2-clause |
Nasias/GBRadio | GBRadio/Libs/AceDB-3.0/AceDB-3.0.lua | 17 | 25099 | --- **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... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora_+1.lua | 35 | 1662 | -----------------------------------------
-- ID: 5200
-- Item: dish_of_spaghetti_pescatora_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 160
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 70
-- Store TP 6
---------------------------------... | gpl-3.0 |
kurthuwig/faces | Watchfaces/jasper_brosens/xess/face.lua | 1 | 2564 | -- This file is part of the Watchfaces project.
-- Read the file README.md for copyright and other information
function about()
local result = {}
result.author = "Jasper Brosens"
result.name = "Xess"
return result
end
function init()
local atlas = face:loadAtlas('all.atlas')
face:add(atlas:... | apache-2.0 |
LuaDist2/lua-aplicado | test/cases/0060-http.lua | 2 | 7211 | --------------------------------------------------------------------------------
-- test/cases/0050-http.lua: tests for http.lua
-- This file is a part of Lua-Aplicado library
-- Copyright (c) Lua-Aplicado authors (see file `COPYRIGHT` for the license)
-------------------------------------------------------------------... | mit |
n0xus/darkstar | scripts/globals/mobskills/Head_Snatch.lua | 13 | 1072 | ---------------------------------------------
-- Head Snatch
--
-- Description: Grabs a single target's head.
-- Type: Physical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Melee
-- Notes: Only used by Gurfurlur the Menacing. Reduces HP to 10%.
---------------------------------------------
requi... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Ulduar/Algalon.lua | 1 | 4815 | local mod = DBM:NewMod("Algalon", "DBM-Ulduar")
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 182 $"):sub(12, -3))
mod:SetCreatureID(32871)
mod:SetEncounterID(1130)
mod:DisableESCombatDetection()
mod:SetMinSyncRevision(135)
mod:SetModelID(28641)
mod:SetModelSound("Sound\\Creature\\AlgalonTheObserve... | gpl-2.0 |
n0xus/darkstar | scripts/globals/items/steamed_crayfish.lua | 35 | 1239 | -----------------------------------------
-- ID: 4338
-- Item: steamed_crayfish
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Defense % 30
-- Defense Cap 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
mohammad8/iran-spem | plugins/anti-flood.lua | 281 | 2422 | local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Mine_Shaft_2716/npcs/_0d0.lua | 17 | 1997 | -----------------------------------
-- 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 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Firelands/localization.cn.lua | 1 | 7088 | -- Simplified Chinese by Diablohu(diablohudream@gmail.com)
-- Last update: 1/1/2012
if GetLocale() ~= "zhCN" then return end
local L
-----------------
-- Beth'tilac --
-----------------
L= DBM:GetModLocalization(192)
L:SetWarningLocalization({
})
L:SetTimerLocalization({
})
L:SetOptionLocalization({
RangeFrame ... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/disk.lua | 86 | 1449 | --[[
Luci statistics - df plugin diagram definition
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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.... | gpl-2.0 |
chengyi818/openwrt | customer/packages/luci/applications/luci-pbx/luasrc/model/cbi/pbx-google.lua | 146 | 5490 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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
... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.