repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
rekotc/game-engine-experimental-3 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lua-xmlrpc/src/init.lua | 2 | 20286 | ---------------------------------------------------------------------
-- XML-RPC implementation for Lua.
-- See Copyright Notice in license.html
---------------------------------------------------------------------
local lxp = require "lxp"
local lom = require "lxp.lom"
local mime = require "mime"
local assert, error... | lgpl-3.0 |
m241dan/darkstar | scripts/zones/Kazham/npcs/Bhukka_Sahbeo.lua | 15 | 1053 | -----------------------------------
-- Area: Kazham
-- NPC: Bhukka Sahbeo
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
dvr333/Zero-K | effects/DOT_Merl_Dexplo.lua | 7 | 1627 | return { DOT_Merl_DExplo = {
Dreck = {
class = [[CSimpleParticleSystem]],
properties = {
Texture = [[smokesmall]],
colorMap = [[.07 .05 .05 0.80
.00 .00 .00 0.01]],
pos = [[0, 1, 0]],
gravity = [[0, -0.2, 0]],
emitVector = [[0, 1, 0]],
emitRot = 0,
emitRotSpread = 50,
siz... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Heavens_Tower/IDs.lua | 6 | 1179 | -----------------------------------
-- Area: Heavens_Tower
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.HEAVENS_TOWER] =
{
text =
{
STAIRWAY_LOCKED = 554, -- The door to the Starway Stairway is locked... | gpl-3.0 |
santssoft/darkstar | scripts/globals/effects/field_support_food.lua | 12 | 2969 | -----------------------------------
--
-- dsp.effect.FIELD_SUPPORT_FOOD
-- From FoV and GoV
-----------------------------------
function onEffectGain(target,effect)
if (effect:getPower() == 1) then -- Dried Meat
target:addMod(dsp.mod.STR, 4)
target:addMod(dsp.mod.FOOD_ATTP, 22)
target:addMo... | gpl-3.0 |
moltafet35/spamersss | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
mpeterv/Penlight | tests/test-func.lua | 2 | 2928 | local utils = require 'pl.utils'
local List = require 'pl.List'
local tablex = require 'pl.tablex'
asserteq = require('pl.test').asserteq
utils.import('pl.func')
-- _DEBUG = true
function pprint (t)
print(pretty.write(t))
end
function test (e)
local v = {}
print('test',collect_values(e,v))
if #v > 0... | mit |
jefferai/vlc | share/lua/playlist/katsomo.lua | 97 | 2906 | --[[
Translate www.katsomo.fi video webpages URLs to the corresponding
movie URL
$Id$
Copyright © 2009 the VideoLAN team
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 o... | gpl-2.0 |
ultrasn0w/mc_u_world | danidani_programs/opencomputers/4a2bb039-e2e9-4561-b12a-b45d94e2576b/bin/df.lua | 16 | 1729 | local fs = require("filesystem")
local shell = require("shell")
local text = require("text")
local args, options = shell.parse(...)
local function formatSize(size)
if not options.h then
return tostring(size)
end
local sizes = {"", "K", "M", "G"}
local unit = 1
local power = options.si and 1000 or 1024
... | unlicense |
yuanfengyun/mj_server | mjlib/hubei_huanghuang/mjlib.lua | 2 | 6688 | package.path = "../../lualib/?.lua;"..package.path
local utils = require "utils"
local wave_table = require "auto_table"
local wave_table_eye = require "auto_table_with_eye"
local CardType = {
[0x10] = {min = 1, max = 9, chi = true},
[0x20] = {min = 10, max = 18, chi = true},
[0x30] = {min = 19, max = 27,... | mit |
m241dan/darkstar | scripts/globals/mobskills/Sickle_Slash.lua | 34 | 1178 | ---------------------------------------------------
-- Sickle Slash
-- Deals critical damage. Chance of critical hit varies with TP.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Port_Windurst/npcs/Puo_Rhen.lua | 13 | 1052 | -----------------------------------
-- Area: Port Windurst
-- NPC: Puo Rhen
-- Type: Mission Starter
-- @zone: 240
-- @pos -227.964 -9 187.087
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
------------... | gpl-3.0 |
dvr333/Zero-K | units/tankaa.lua | 4 | 3630 | return { tankaa = {
unitname = [[tankaa]],
name = [[Ettin]],
description = [[Flak Anti-Air Tank]],
acceleration = 0.36,
brakeRate = 1.8,
buildCostMetal = 500,
builder = false,
buildPic = [[tankaa.png]]... | gpl-2.0 |
Timmeey86/CQUI_Community-Edition | Integrations/BES/UI/PartialScreens/espionageoverview.lua | 2 | 45131 | -- ===========================================================================
---- ESPIONAGE OVERVIEW ----
-- ===========================================================================
include( "InstanceManager" );
include( "AnimSidePanelSupport" );
include( "SupportFunctions" );
include( "EspionageSupport" );
includ... | mit |
m241dan/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Nomad_Moogle.lua | 13 | 1050 | -----------------------------------
--
-- Nomad Moogle
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
-----------------------------------
-- onTrade Action
----------... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Horlais_Peak/bcnms/shooting_fish.lua | 9 | 1062 | -----------------------------------
-- Shooting Fish
-- Horlais Peak BCNM20, Cloudy Orb
-- !additem 1551
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function onBa... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Den_of_Rancor/npcs/Treasure_Coffer.lua | 13 | 3854 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Treasure Coffer
-- @zone 160
-- @pos
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
Timmeey86/CQUI_Community-Edition | Integrations/BES/UI/espionagesupport.lua | 2 | 7662 | -- ===========================================================================
function GetFormattedOperationDetailText(operation:table, spy:table, city:table)
local outputString:string = "";
local eOperation:number = GameInfo.UnitOperations[operation.Hash].Index;
local sOperationDetails:string = UnitManager.GetO... | mit |
lassgdk/lass | lass/data/lua/5.1/lass/builtins/graphics/ImageRenderer.lua | 2 | 1696 | local lass = require("lass")
local class = require("lass.class")
local geometry = require("lass.geometry")
local Renderer = require("lass.builtins.graphics.Renderer")
--[[
ImageRenderer
arguments:
filename - string
arguments (optional):
offset (Vector2, default={x=0,y=0}) - location of top left corner
color - rgb ... | gpl-3.0 |
santssoft/darkstar | scripts/globals/items/serving_of_flint_caviar.lua | 11 | 1122 | -----------------------------------------
-- ID: 4276
-- Item: serving_of_flint_caviar
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-- Dexterity 4
-- Mind -1
-- Charisma 4
-----------------------------------------
require("scripts/globals/status")
require("scripts/... | gpl-3.0 |
kidmaple/CoolWall | user/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | gpl-2.0 |
cloudaice/codis | ext/redis-2.8.13/deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
ToxicFrog/EmuFun | state/load-libraries.lua | 1 | 1733 | local Node = require "node.Node"
local Directory = require "node.Directory"
local function liberror(message)
local node = new "node.Node" { name = message }
node.icon = emufun.images.error
node:add_command {
name = "Quit Emufun";
run = emufun.quit;
}
return node
end
local root = ... | mit |
mpeterv/Penlight | tests/test-dir.lua | 2 | 2867 | -- This test file expects to be ran from 'run.lua' in the root Penlight directory.
local dir = require( "pl.dir" )
local file = require( "pl.file" )
local path = require( "pl.path" )
local asserteq = require( "pl.test" ).asserteq
asserteq(dir.fnmatch("foobar", "foo*bar"), true)
asserteq(dir.fnmatch("afoobar", "foo*ba... | mit |
10headless/hawkthorne-journey | src/pause.lua | 1 | 3440 | local Gamestate = require 'vendor/gamestate'
local window = require 'window'
local camera = require 'camera'
local fonts = require 'fonts'
local sound = require 'vendor/TEsound'
local state = Gamestate.new()
local VerticalParticles = require "verticalparticles"
local Timer = require 'vendor/timer'
local Player = requir... | mit |
rekotc/game-engine-experimental-3 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/vdrive/tests/vdrivetests.lua | 2 | 18391 | require 'vdrive'
lowerAlphabet = 'abcdefghijklmnopqrstuvwxyz'
drive = vdrive.new()
assert(drive)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
assert(drive:create('tempfile.zip') == true)
assert(dr... | lgpl-3.0 |
ToxicFrog/EmuFun | Cache.lua | 1 | 3846 | --[[
Metadata cache implementation for EmuFun. Each Cache object is responsible
for a single associated cache file; at present each file corresponds to a
single directory, but there's nothing blocking the implementation of an old-
style global cache option, apart from the way Files and Directories query the
cache.
Pl... | mit |
condor-the-bird/tarantool | test/replication/catch.test.lua | 6 | 1702 | net_box = require('net.box')
errinj = box.error.injection
box.schema.user.grant('guest', 'replication')
--# create server replica with rpl_master=default, script='replication/replica.lua'
--# start server replica
--# set connection replica
box.schema.user.grant('guest', 'read,write,execute', 'universe')
--# set conne... | bsd-2-clause |
dvr333/Zero-K | LuaRules/Configs/StartBoxes/acidredux.lua | 10 | 1343 | return {
[0] = {
nameLong = "West",
nameShort = "W",
startpoints = {
{2065,2912},
},
boxes = {
{
{2081, 1885},
{1749, 2487},
{1996, 3260},
{1834, 3525},
{2089, 3764},
{2487, 3745},
{2802, 3489},
{2959, 3052},
{2810, 2579},
{2635, 2424},
{2678, 2217},
{2084, 1882},
... | gpl-2.0 |
santssoft/darkstar | scripts/globals/items/bowl_of_pumpkin_soup.lua | 11 | 1374 | -----------------------------------------
-- ID: 4430
-- Item: bowl_of_pumpkin_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 1 (cap 110)
-- Vitality -1
-- Agility 3
-- HP Recovered While Healing 5
-- Ranged Accuracy % 8 (cap 20)
-----------------------------------------
require(... | gpl-3.0 |
ch3n2k/luci | applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua | 76 | 3146 | --[[
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... | apache-2.0 |
geoffleyland/lua-osm-tools | lua/osm-tools/osmdb.lua | 1 | 8723 | local patengi = require"patengi"
------------------------------------------------------------------------------
-- IDs aren't unique across nodes, types and ways.
-- It's tempting to wonder why on earth they did that, but let's not dwell on
-- it.
-- Let's just create a unique ID that's 4*osm_id + type_code.
-- We'll ... | mit |
m241dan/darkstar | scripts/zones/Western_Altepa_Desert/npcs/qm2.lua | 13 | 1774 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: qm2 (???)
-- Involved in Mission: Bastok 6-1
-- @pos -325 0 -111 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Windurst_Waters/npcs/Leepe-Hoppe.lua | 13 | 9408 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Leepe-Hoppe
-- Involved in Mission 1-3, Mission 7-2
-- @pos 13 -9 -197 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua | 23 | 2582 | -----------------------------------
-- Area: Empyreal Paradox
-- MOB: Promathia (phase 2)
-----------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Empyreal_Paradox/TextIDs");
require("scripts/globals/status");
require... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/tropical_clam.lua | 18 | 1318 | -----------------------------------------
-- ID: 5124
-- Item: Tropical Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Vitality 4
-- Dexterity -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
nicholas-leonard/cunnx | WindowGate2.lua | 4 | 3208 | local WindowGate2, parent = torch.class('nn.WindowGate2', 'nn.Module')
------------------------------------------------------------------------
--[[ WindowGate2 ]]--
-- Returns a table of {indices, scales}
-- Forward finds the centroid of the input (output of a softmax).
-- The centroid is used to position a window on ... | bsd-3-clause |
santssoft/darkstar | scripts/globals/mobskills/optic_induration.lua | 11 | 1404 | ---------------------------------------------
-- Optic Induration
--
-- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification & enmity reset
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- No... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Port_San_dOria/npcs/Fiva.lua | 1 | 1675 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Fiva
-- Only sells when San d'Oria controls Kolshushu
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/g... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/silken_siesta.lua | 18 | 1238 | -----------------------------------------
-- ID: 5626
-- Item: Silken Siesta
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recoverd while healing 2
-- MP Recovered while healing 5
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
m241dan/darkstar | scripts/zones/QuBia_Arena/TextIDs.lua | 15 | 1428 | -- 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 = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
gowad/the-guard | plugins/helo.lua | 2 | 1966 | --[[
_____ _ _ _ _____ Dev @lIMyIl
|_ _|__| |__ / \ | | _| ____| Dev @li_XxX_il
| |/ __| '_ \ / _ \ | |/ / _| Dev @h_k_a
| |\__ \ | | |/ ___ \| <| |___ Dev @Aram_omar22
|_||___/_| |_/_/ \_\_|\_\_____| Dev @IXX_I_XXI
CH > @lTSHAKEl_CH
--]]
d... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Northern_San_dOria/npcs/Ulycille.lua | 12 | 1397 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ulycille
-- Type: Woodworking Adv. Synthesis Image Support
-- !pos -183.320 9.999 269.651 231
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
local ID = require("scripts/zones/Northern_S... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Port_San_dOria/npcs/HomePoint#2.lua | 27 | 1270 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#2
-- @pos 48 -12.000 -105 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Bastok-Jeuno_Airship/IDs.lua | 12 | 1290 | -----------------------------------
-- Area: Bastok-Jeuno_Airship
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.BASTOK_JEUNO_AIRSHIP] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item... | gpl-3.0 |
Telebot1/Telewild | plugins/linkpv.lua | 107 | 31031 | 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
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
amir1213/botmir | plugins/linkpv.lua | 107 | 31031 | 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
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
mailru/tntlua | rima.lua | 1 | 8268 | --
-- rima.lua
--
--
-- Task manager for imap collector.
-- Task's key is a user email address.
-- Rima can manage some tasks with the same key.
-- Tasks with identical keys will be groupped and managed as one bunch of tasks.
--
-- Producers can adds tasks by rima_put() calls.
-- Consumer request a bunch of tasks (wit... | bsd-2-clause |
m241dan/darkstar | scripts/globals/items/bowl_of_whitefish_stew.lua | 18 | 1536 | -----------------------------------------
-- ID: 4440
-- Item: Bowl of Whitefish Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 10
-- Dexterity 3
-- Mind -3
-- Accuracy 3
-- Ranged ACC % 7
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/global... | gpl-3.0 |
dvr333/Zero-K | units/jumpscout.lua | 1 | 4115 | return { jumpscout = {
unitname = [[jumpscout]],
name = [[Puppy]],
description = [[Walking Missile]],
acceleration = 0.72,
activateWhenBuilt = true,
brakeRate = 4.32,
buildCostMetal = 45,
builder = false,
bui... | gpl-2.0 |
renstrom/NeavUI | Interface/AddOns/oUF_NeavRaid/modules/CallbackHandler-1.0/CallbackHandler-1.0.lua | 22 | 8073 | --[[ $Id: CallbackHandler-1.0.lua 1186 2018-07-21 14:19:18Z nevcairiel $ ]]
local MAJOR, MINOR = "CallbackHandler-1.0", 7
local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR)
if not CallbackHandler then return end -- No upgrade needed
local meta = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end}
... | mit |
m241dan/darkstar | scripts/zones/Kazham/npcs/Nti_Badolsoma.lua | 15 | 1053 | -----------------------------------
-- Area: Kazham
-- NPC: Nti Badolsoma
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
dvr333/Zero-K | scripts/hoveraa.lua | 5 | 1969 | local base = piece 'base'
local body = piece 'body'
local turret = piece 'turret'
local ground1 = piece 'ground1'
local missile = piece 'missile'
local firepoint = piece 'firepoint'
local wakes = {}
for i = 1, 8 do
wakes[i] = piece ('wake' .. i)
end
include "constants.lua"
local function WobbleUnit()
local wobble ... | gpl-2.0 |
Telebot1/Telewild | plugins/time.lua | 1 | 2521 | api_key = nil
base_api = "https://maps.googleapis.com/maps/api"
dateFormat = "%A %d %B - %H:%M:%S"
-- Need the utc time for the google api
function utctime()
return os.time(os.date("!*t"))
end
-- Use the geocoding api to get the lattitude and longitude with accuracy specifier
-- CHECKME: this seems to work withou... | gpl-2.0 |
dvr333/Zero-K | LuaUI/Widgets/chili/Controls/label.lua | 8 | 2940 | --// =============================================================================
--- Label module
--- Label fields.
-- Inherits from Control.
-- @see control.Control
-- @table Label
-- @string[opt = "left"] align alignment
-- @string[opt = "linecenter"] valign vertical alignment
-- @string[opt = "no text"] caption ... | gpl-2.0 |
dvr333/Zero-K | LuaUI/Widgets/gui_chili_keyboardmenu.lua | 6 | 32281 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Chili Keyboard Menu",
desc = "v0.035 Chili Keyboard Menu",
author = "CarRepairer",
... | gpl-2.0 |
santssoft/darkstar | scripts/commands/petgodmode.lua | 14 | 2916 | ---------------------------------------------------------------------------------------------------
-- func: petgodmode
-- desc: Toggles god mode on the player's pet, granting them several special abilities.
---------------------------------------------------------------------------------------------------
cmdprops =
... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Metalworks/npcs/Karst.lua | 9 | 1444 | -----------------------------------
-- Area: Metalworks
-- NPC: Karst
-- Type: President
-- Involved in Bastok Missions 5-2
-- !pos 106 -21 0 237
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,np... | gpl-3.0 |
DevPointTeam/DevPoint | plugins/inpm.lua | 10 | 9269 | local function pre_process(msg)
local to = msg.to.type
local service = msg.service
if to == 'user' and msg.fwd_from then
if not is_support(msg.from.id) and not is_admin1(msg) then
return
end
local user = 'user#id'..msg.from.id
local from_id = msg.fwd_from.peer_id
if msg.fwd_from.first_name then
from_f... | gpl-2.0 |
camchenry/super_shooter | entities/ui/list.lua | 1 | 4361 | List = class('List')
function List:initialize(label, options, x, y, w, h)
self.x = x
self.y = y
self.font = font[22]
self.label = label
self.text = ''
self.options = options
self.selected = 1
self.margin = 5
self.longestIndex = self:setLongestIndex() -- arrows
self.width = w
self.height = h or self.fon... | mit |
06192010/BoL_Scripts | Colorful Circles.lua | 1 | 2447 | --[[
.o88b. .d88b. db .d88b. d8888b. d88888b db db db .o88b. d888888b d8888b. .o88b. db d88888b .d8888.
d8P Y8 .8P Y8. 88 .8P Y8. 88 `8D 88' 88 88 88 d8P Y8 `88' 88 `8D d8P Y8 88 88' 88' YP
8P 88 88 88 88 88 88oobY' 88ooo... | gpl-2.0 |
broxen/Segs | Data/scripts/Hazard_03_01/TimeCop.lua | 3 | 1823 | --TimeCop controls auto-refreshing of map spawners (spawndef-based)
local TimeCop = {};
TimeCop.spawned = false;
TimeCop.name = "Time Cop";
TimeCop.model = "MaleNpc_230";
TimeCop.location = {};
TimeCop.location.coordinates = vec3.new(6212.5, 0, 2700);
TimeCop.location.orientation = vec3.new(0, 3.14, 0);
TimeCop.variat... | bsd-3-clause |
broxen/Segs | Data/scripts/City_02_01/Spawndefs/Vahzilok_Steel.spawndef.lua | 3 | 2579 | --This is a rank table
--There could be multiple tables to generate spawns from
local Vahzilok_Ranks_01 = {
["Underlings"] = {
--NA
},
["Minions"] = {
"Slab_01", "Slab_02", "Slab_03",
"Slab_04", "Cylok_01", "Cylok_02",
"Cylok_03", "Cylok_04", "Cylok_Slab_01",
... | bsd-3-clause |
m241dan/darkstar | scripts/zones/Upper_Jeuno/npcs/Mairee.lua | 27 | 1734 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mairee
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- o... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Garlaige_Citadel_[S]/npcs/Fondactiont.lua | 11 | 1730 | -----------------------------------
-- Area: Garlaige Citadel [S]
-- NPC: Fondactiont
-- Starts and Finishes Quest: The Fumbling Friar
-- !pos -95 0 196 164
-----------------------------------
require("scripts/globals/npc_util")
require("scripts/globals/keyitems")
require("scripts/globals/quests")
--------------------... | gpl-3.0 |
mteichtahl/simhub | premake4.lua | 1 | 6784 |
-- Clean Function --
newaction {
trigger = "clean",
description = "clean the software",
execute = function ()
print("clean the build...")
os.rmdir("./obj")
os.remove("./*.make")
os.remove("./Makefile")
print("done.")
end
}
-- A solution contains projects, and defines ... | mit |
hfjgjfg/teamhack | plugins/Feedback.lua | 49 | 1048 | do
function run(msg, matches)
local fuse = '#DearAdmin😜 we have recived a new feedback just now : #newfeedback \n\nID▶️ : ' .. msg.from.id .. '\n\nName▶ : ' .. msg.from.print_name ..'\n\nusername▶️ :@ ' .. msg.from.username ..'\n\n🅿️♏️ :\n\n\n' .. matches[1]
local fuses = '!printf user#id' .. msg.from.id
lo... | gpl-2.0 |
mpeterv/Penlight | tests/test-tablex.lua | 1 | 4864 | local tablex = require 'pl.tablex'
local utils = require ('pl.utils')
local L = utils.string_lambda
local test = require('pl.test')
-- bring tablex funtions into global namespace
utils.import(tablex)
local asserteq = test.asserteq
local cmp = deepcompare
function asserteq_no_order (x,y)
if not compare_no_order(x,... | mit |
m241dan/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Bonbavour_RK.lua | 13 | 3337 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Bonbavour, R.K.
-- Outpost Conquest Guards
-- @pos -481.164 -32.858 49.188 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/slice_of_dragon_meat.lua | 18 | 1345 | -----------------------------------------
-- ID: 4272
-- Item: slice_of_dragon_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 6
-- Intelligence -8
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
m241dan/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Sarcophagus.lua | 12 | 4691 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Sarcophagus
-- Involved in Quest: The Requiem (BARD AF2)
-- @pos -420 8 500 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
grrk-bzzt/kq-fork | scripts/town1.lua | 1 | 17195 | -- town1 - "Ekla"
-- /*
-- {
-- progress:
-- cancelrod: Possession of Rod of Cancellation
-- (0) Do not have it
-- (1) Got it
-- (2) Returned it to Derig
--
-- darkimpboss: Dark Imp is in the tunnel from Ekla to Randen
-- (0) It is blocking the stairway to Randen
-- (1) You defeated it and the pathway is now... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Chateau_dOraguille/Zone.lua | 1 | 2972 | -----------------------------------
--
-- Zone: Chateau_dOraguille (233)
--
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/missio... | gpl-3.0 |
lovelas/miners_robots | page_builder.lua | 1 | 3136 | --Copyright 2016 lovelas
--
--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 agreed to in writing, s... | apache-2.0 |
m241dan/darkstar | scripts/zones/Port_San_dOria/npcs/Artinien.lua | 13 | 1356 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Artinien
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
-... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Sealions_Den/mobs/Tenzen.lua | 23 | 1173 | -----------------------------------
-- Area: Sealion den
-- NPC: Tenzen
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobEngaged
-----------------------------------
fun... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Northern_San_dOria/npcs/Greubaque.lua | 53 | 1967 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Greubaque
-- Type: Smithing Adv. Synthesis Image Support
-- @pos -179.400 10.999 150.000 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Bastok_Markets/npcs/Enu.lua | 9 | 2198 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Enu
-- Type: Quest NPC
-- !pos -253.673 -13 -92.326 235
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets/IDs");
require("scripts/globals/weather");
require("scripts/globals/quests");
--------------------------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Yughott_Grotto/npcs/HomePoint#1.lua | 27 | 1271 | -----------------------------------
-- Area: Yughott_Grotto
-- NPC: HomePoint#1
-- @pos 434 -40.299 171 142
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Yughott_Grotto/TextIDs");
require("scripts/globals/... | gpl-3.0 |
electromatter/cuberite | lib/tolua++/src/bin/lua/code.lua | 42 | 2520 | -- tolua: code class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1999
-- $Id: $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enhancements, o... | apache-2.0 |
m241dan/darkstar | scripts/zones/Promyvion-Vahzl/mobs/Memory_Receptacle.lua | 6 | 6906 | -----------------------------------
-- Area: Promyvion-Vahzl
-- MOB: Memory Receptacle
-- Todo: clean up disgustingly bad formatting
-----------------------------------
package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil;
-----------------------------------
require( "scripts/zones/Promyvion-Vahzl/TextIDs" );... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Qulun_Dome/npcs/Magicite.lua | 13 | 1659 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Magicite
-- Involved in Mission: Magicite
-- @pos 11 25 -81 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/... | gpl-3.0 |
dvr333/Zero-K | effects/gundam_mainmegapartgun.lua | 26 | 2945 | -- mainmegapartgun
return {
["mainmegapartgun"] = {
dirt = {
count = 4,
ground = true,
properties = {
alphafalloff = 2,
alwaysvisible = true,
color = [[0.2, 0.1, 0.05]],
pos = [[r-10 r10, 0, r-10 r10... | gpl-2.0 |
yuanfengyun/mj_server | mjlib/gui/one_gui_feng_eye_table.lua | 2 | 13533 | return {[1]=true,[3200002]=true,[1030]=true,[1033]=true,[10]=true,[3000331]=true,[3033100]=true,[13]=true,[3033103]=true,[13330]=true,[3200020]=true,[13333]=true,[22]=true,[3200023]=true,[2303002]=true,[310300]=true,[303133]=true,[310303]=true,[3200032]=true,[3033130]=true,[2303020]=true,[2303023]=true,[2302000]=true,[... | mit |
m241dan/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j2.lua | 13 | 1421 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos -260 -33 274 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missi... | gpl-3.0 |
codewalkerster/android_external_skia | tools/lua/skia.lua | 207 | 1863 | -- Experimental helpers for skia --
function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
Sk = {}
function Sk.isFinite(x)
return x * 0 == 0
end
----------------... | bsd-3-clause |
m241dan/darkstar | scripts/zones/Castle_Oztroja/npcs/_47j.lua | 13 | 1608 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
santssoft/darkstar | scripts/globals/abilities/pets/sand_breath.lua | 11 | 1413 | ---------------------------------------------------
-- Sand Breath
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/ability")
---------------------------------------------------
... | gpl-3.0 |
grrk-bzzt/kq-fork | scripts/town8.lua | 1 | 5110 | -- town8 - "not yet named"
-- /*
-- {
-- We're going to learn about the Xenars for the first time here.
--
-- progress.walking: Layer which the player is walking on
-- (0) You're on an elevated cliff: you walk OVER bridges
-- (1) You're on ground level: you walk UNDER bridges
-- }
-- */
function autoexec()
prog... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Northern_San_dOria/npcs/Gulmama.lua | 9 | 5274 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Gulmama
-- Starts and Finishes Quest: Trial by Ice
-- Involved in Quest: Class Reunion
-- !pos -186 0 107 231
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/key... | gpl-3.0 |
santssoft/darkstar | scripts/commands/addweaponskillpoints.lua | 14 | 1753 | ---------------------------------------------------------------------------------------------------
-- func: addWeaponSkillPoints <slot> <points> {player}
-- desc: Adds weapon skill points to an equipped item.
---------------------------------------------------------------------------------------------------
require("s... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Crawlers_Nest/npcs/qm4.lua | 13 | 1025 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Drown Crawler (Spawn area 2)
-- @pos -74.939 -2.606 244.139 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/TextIDs");... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Western_Adoulin/npcs/Kipligg.lua | 11 | 2005 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Kipligg
-- Type: Standard NPC and Mission NPC,
-- Involved with Missions: '...Into the Fire', 'Done and Delivered'
-- !pos -32 0 22 256
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
func... | gpl-3.0 |
Shayan123456/botttttt4 | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
BooM-amour/ViRuS | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
santssoft/darkstar | scripts/globals/summon.lua | 10 | 9706 |
require("scripts/globals/common")
require("scripts/globals/status")
require("scripts/globals/msg")
function getSummoningSkillOverCap(avatar)
local summoner = avatar:getMaster()
local summoningSkill = summoner:getSkillLevel(dsp.skill.SUMMONING_MAGIC)
local maxSkill = summoner:getMaxSkillLevel(avatar:getMai... | gpl-3.0 |
darkstalker/LuaTwit | src/luatwit/objects.lua | 1 | 28401 | --- Metatables used to create objects from the data returned by the Twitter API.
--
-- @module luatwit.objects
-- @author darkstalker <https://github.com/darkstalker>
-- @license MIT/X11
local assert, io_open, ipairs, pairs, setmetatable, table_concat, tostring, type =
assert, io.open, ipairs, pairs, setmetatab... | mit |
m241dan/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Tahl_Mhioguch.lua | 13 | 1068 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Tahl Mhioguch
-- Type: Standard NPC
-- @zone: 94
-- @pos -64.907 -5.947 81.391
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/loach_soup.lua | 18 | 1667 | -----------------------------------------
-- ID: 5671
-- Item: loach_soup
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy % 7
-- Accuracy Cap 50
-- HP % 7
-- HP Cap 50
-- Evasion 5
-- (Did Not Add Group Food Effect)
--------------------------... | gpl-3.0 |
camchenry/super_shooter | entities/enemy/ninja.lua | 1 | 3776 | Ninja = class('Ninja', Enemy)
function Ninja:initialize(position)
Enemy.initialize(self, position)
self.originalColor = {1, 1, 1, 200/255}
self.sides = 4
self.hue = 280
self.saturation = 20
self.lightness = 50
local radiusOrig = 15
self.radius = radiusOrig
self.speed = 800 * 1/(self... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.