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
morteza99del/MORI_TABCHI
lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-3.0
psychon/awesome
tests/test-awful-layout.lua
10
4027
-- This test hit the client layout code paths to see if there is errors. -- it doesn't check if the layout are correct. local awful = require("awful") local gtable = require("gears.table") local first_layout = nil local t = nil local has_spawned = false local steps = { -- Add enough clients function(count...
gpl-2.0
shingenko/darkstar
scripts/globals/items/m&p_doner_kabob.lua
36
1132
----------------------------------------- -- ID: 5717 -- Item: M&P Doner Kabob -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 5% -- MP 5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/lua/pl/stringio.lua
1
1383
--- reading and writing strings using Lua IO. -- @class module -- @name pl.stringio local tmpname = require('pl.path').tmpname local getmetatable,fopen,remove = getmetatable,io.open,os.remove local utils = require 'pl.utils' local assert_arg = utils.assert_arg --[[ module ('pl.stringio',utils._module) ]] ...
lgpl-3.0
shingenko/darkstar
scripts/zones/Sacrarium/npcs/Stale_Draft.lua
17
3444
----------------------------------- -- NPC: Stale Draft -- Area: Sacrarium -- Notes: Used to spawn Swift Belt NM's ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacrarium/TextIDs"); ---------------...
gpl-3.0
xFleury/crawl-0.13.0-fairplay
source/dat/dlua/layout/hyper_place.lua
1
20690
------------------------------------------------------------------------------ -- v_place.lua: -- -- Functions for selecting vaults, generating rooms from code, analysing for -- geometry and connectability, and finding a placement position on the -- usage grid. -- -------------------------------------------------------...
gpl-2.0
shingenko/darkstar
scripts/globals/weaponskills/cyclone.lua
30
1416
----------------------------------- -- Cyclone -- Dagger weapon skill -- Skill level: 125 -- Delivers an area attack that deals wind elemental damage. Damage varies with TP. -- This weapon skill is ranged and can be used from a distance (Up to 15'). -- Directly affected by Magic Attack Bonus. -- Aligned with the...
gpl-3.0
ahmedjabbar1/TeamTop
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...
agpl-3.0
alimohamadzade/teleae
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
shadobaker/TeleBeyond
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
shingenko/darkstar
scripts/globals/items/butter_crepe.lua
36
1239
----------------------------------------- -- ID: 5766 -- Item: Butter Crepe -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +10 -- Magic Accuracy +2 -- Magic Defense +1 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
shingenko/darkstar
scripts/globals/weaponskills/omniscience.lua
18
4697
----------------------------------- -- Omniscience -- Staff weapon skill -- Skill Level: N/A -- Lowers target's magic attack. Duration of effect varies with TP. Tupsimati: Aftermath effect varies with TP. -- Reduces enemy's magic attack by -10. -- Available only after completing the Unlocking a Myth (Scholar) que...
gpl-3.0
shingenko/darkstar
scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua
38
1037
----------------------------------- -- Area: Windurst Woods -- NPC: Miiri-Wohri -- Type: Standard NPC -- @zone: 241 -- @pos 106.766 -6 -30.492 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ------------...
gpl-3.0
shingenko/darkstar
scripts/zones/RaKaznar_Inner_Court/Zone.lua
32
1345
----------------------------------- -- -- Zone: Ra’Kanzar Inner Court (276) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Inner_Court/TextIDs");...
gpl-3.0
wagonrepairer/Zero-K
units/armkam.lua
1
6289
unitDef = { unitname = [[armkam]], name = [[Banshee]], description = [[Raider Gunship]], acceleration = 0.18, brakeRate = 0.2, buildCostEnergy = 220, buildCostMetal = 220, builder = false, buildPic ...
gpl-2.0
shingenko/darkstar
scripts/zones/Port_Windurst/Zone.lua
17
2414
----------------------------------- -- -- Zone: Port_Windurst (240) -- ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/globals/zone"); require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/TextIDs"); ---------------------...
gpl-3.0
shingenko/darkstar
scripts/globals/abilities/pets/fire_iv.lua
20
1157
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ----------------------------------------------...
gpl-3.0
TheAncientGoat/GodheadLips
data/system/widgets/frame.lua
1
4639
Widgets.Frame = Class(Widget) Widgets.Frame.class_name = "Widgets.Frame" --- Creates a new frame widget. -- @param clss Frame widget class. -- @param args Arguments. -- @return Skills widget. Widgets.Frame.new = function(clss, args) local self = Widget.new(clss, {spacings = {5,5}}) self.style = "default" if args th...
gpl-3.0
jyggen/lua-parser
tests/Fixtures/cf/73/76/fea46da266584667265a82e39620fd4461bf5312b9c91441f7021ca881.lua
1
8098
AUCTIONATOR_SAVEDVARS = { ["_50000"] = 500, ["_2000"] = 100, ["_10000"] = 200, ["_500"] = 5, ["_1000000"] = 2500, ["_200000"] = 1000, ["STARTING_DISCOUNT"] = 5, ["LOG_DE_DATA_X"] = true, ["_5000000"] = 10000, } AUCTIONATOR_PRICING_HISTORY = { ["Plans: Blight"] = { ["is"] = "142337:0:0:0:0", ...
mit
shingenko/darkstar
scripts/zones/Halvung/npcs/qm1.lua
17
1200
----------------------------------- -- Area: Halvung -- NPC: ??? (Spawn Big Bomb) -- @pos -233.830 13.613 286.714 62 ----------------------------------- package.loaded["scripts/zones/Halvung/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Halvung/TextIDs"); -------------------------------...
gpl-3.0
shingenko/darkstar
scripts/zones/La_Theine_Plateau/npcs/Vicorpasse.lua
17
2134
----------------------------------- -- Area: La Theine Plateau -- NPC: Vicorpasse -- Involved in Mission: The Rescue Drill -- @pos -344 37 266 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
obsy/luci
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua
48
11450
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- Data init -- local fs = require "nixio.fs" local sys = require "luci.sys" local uci = require "luci.model.uci".cursor() if not uci:get("network", "wan") ...
apache-2.0
shingenko/darkstar
scripts/globals/items/konigskuchen.lua
35
1372
----------------------------------------- -- ID: 5614 -- Item: konigskuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 8 -- Magic % 3 -- Magic Cap 13 -- Intelligence 2 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
shingenko/darkstar
scripts/zones/Windurst_Woods/npcs/Tesch_Garanjy.lua
36
4446
----------------------------------- -- Area: Windurst Woods -- NPC: Tesch_Garanjy -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/armorstorage"...
gpl-3.0
shingenko/darkstar
scripts/zones/Carpenters_Landing/npcs/relic.lua
38
1857
----------------------------------- -- Area: Carpenter's Landing -- NPC: <this space intentionally left blank> -- @pos -99 -0 -514 2 ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Carpenters_Landing/TextI...
gpl-3.0
shingenko/darkstar
scripts/globals/items/dried_berry.lua
35
1210
----------------------------------------- -- ID: 5672 -- Item: dried_berry -- Food Effect: 3Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
shingenko/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua
19
1888
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Justinius -- Involved in mission : COP2-3 -- @pos 76 -34 68 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("sc...
gpl-3.0
shingenko/darkstar
scripts/zones/Castle_Zvahl_Keep_[S]/Zone.lua
28
1341
----------------------------------- -- -- Zone: Castle_Zvahl_Keep_[S] (155) -- ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"...
gpl-3.0
openwayne/chaos_theory
mods/mesecons/mesecons_noteblock/init.lua
12
2019
minetest.register_node("mesecons_noteblock:noteblock", { description = "Noteblock", tiles = {"mesecons_noteblock.png"}, groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2}, on_punch = function(pos, node) -- change sound when punched node.param2 = (node.param2+1)%12 mesecon.noteblock_play(pos, node.param2) ...
lgpl-2.1
LuaAV/LuaAV4
examples/alife/ca_2D_hodgepodge.lua
1
4233
-- @see http://www.sciencedirect.com/science/article/pii/016727898990081X# -- This typically goes through several stages: -- first a mass pulsing, more or less synchronized with a textured brain-like pattern -- then circular pulsing pockets begin to appear and grow, with waves pushing to larger regions at different ph...
mit
AleksCore/Mr.Green-MTA-Resources
resources/[race]/race/rankingboard.lua
4
2190
RankingBoard = {} RankingBoard.__index = RankingBoard RankingBoard.clientInstances = {} function addTeamColor(player) local playerTeam = getPlayerTeam ( player ) if ( playerTeam ) then local r,g,b = getTeamColor ( playerTeam ) local n1 = toHex(r) local n2 = toHex(g) local n3 = toHex(b) if r <= 16 then n1...
mit
shingenko/darkstar
scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua
17
8643
----------------------------------- -- Area: Rolanberry Fields -- NPC: Saarlan -- Legion NPC -- @pos 242 24.395 468 ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/g...
gpl-3.0
wagonrepairer/Zero-K
LuaUI/Widgets/chili/simple examples/Widgets/gui_simplewindow.lua
17
3595
function widget:GetInfo() return { name = "chilli example", desc = "example chilli code", author = "smoth", date = "8/26/10", license = "none", layer = 0, enabled = false -- loaded by default? } end local windows = {} local Window local ScrollPanel local Chili local lab local tx = "Man...
gpl-2.0
shingenko/darkstar
scripts/zones/Grauberg_[S]/npcs/qm1.lua
19
1617
----------------------------------- -- Area: Grauberg [S] -- NPC: ??? -- Quest - DNC AF1 ----------------------------------- package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/Grauberg_[S]/TextIDs"); -----...
gpl-3.0
utgarda/scala-libgdx-pax-britannica
android/assets/data/scripts/ship.lua
11
3184
local v2 = require 'dokidoki.v2' assert(player, 'missing player argument') assert(turn_speed, 'missing turn_speed argument') assert(accel, 'missing accel argument') assert(hit_points, 'missing hit_points argument') local max_hit_points = hit_points self.sprite.color = {1.0, 1.0, 1.0} if sprites_table then self.spr...
mit
shingenko/darkstar
scripts/globals/items/balik_sis.lua
35
1661
----------------------------------------- -- ID: 5600 -- Item: Balik Sis -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -2 -- Attack % 13 -- Attack Cap 40 -- Ranged ACC 1 -- Ranged ATT % 13 -- Ranged ATT Cap 40 ----------------------------------------- r...
gpl-3.0
shingenko/darkstar
scripts/zones/Dynamis-Windurst/mobs/Avatar_Icon.lua
12
5167
----------------------------------- -- Area: Dynamis Windurst -- NPC: Avatar Icon -- Map1 Position: http://images2.wikia.nocookie.net/__cb20090312004752/ffxi/images/8/84/Win1.jpg -- Map2 Position: http://images2.wikia.nocookie.net/__cb20090312004839/ffxi/images/6/61/Win2.jpg ----------------------------------- p...
gpl-3.0
wagonrepairer/Zero-K
LuaRules/Configs/cloak_shield_defs.lua
16
1373
-- Cloak Levels -- -- 0: disabled -- 1: conditionally enabled, uses energy -- 2: conditionally enabled, does no use energy -- 3: enabled, unless stunned -- 4: always enabled local uncloakables = {} for k, v in pairs(UnitDefNames) do if (v.customParams.cannotcloak) then uncloakables[k] = true end end l...
gpl-2.0
AleksCore/Mr.Green-MTA-Resources
editorplugin/mrgreen/mrgreen/edf_s.lua
3
11280
local elements = {} local mode addEventHandler( "onResourceStart", root, function ( res ) if getResourceName(res) ~= "editor_test" then return end outputDebugString('editor_test start mrgreen') local getmode = get('editor_test.racemode') local racemode = ({ --having fun rtf = startRTF, shooter = startSH, ...
mit
shingenko/darkstar
scripts/globals/abilities/hunters_roll.lua
9
2848
----------------------------------- -- Ability: Hunter's Roll -- Enhances accuracy and ranged accuracy for party members within area of effect -- Optimal Job: Ranger -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 11 -- -- Die Roll |Without RNG |With RNG -- -------- ------------ ------- -- 1 ...
gpl-3.0
shingenko/darkstar
scripts/zones/FeiYin/npcs/Underground_Pool.lua
17
2322
----------------------------------- -- Area: FeiYin -- NPC: Underground Pool -- Involved In Quest: Scattered into Shadow -- @pos 7 0 32 204 (H-8) -- @pos 7 0 247 204 (H-5) -- @pos -168 0 247 204 (F-5) ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; -------------------...
gpl-3.0
shingenko/darkstar
scripts/globals/effects/dark_arts.lua
74
1952
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local helix = effect...
gpl-3.0
wagonrepairer/Zero-K
effects/feature_poof.lua
22
1425
-- feature_poof return { ["feature_poof_spawner"] = { poof01 = { air = true, class = [[CExpGenSpawner]], count = [[10]], ground = true, properties = { delay = [[i1 x0.1d]], damage = [[d1]],...
gpl-2.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/luatex/luaotfload/fontloader-fonts-enc.lua
2
2315
if not modules then modules = { } end modules ['luatex-font-enc'] = { version = 1.001, comment = "companion to luatex-*.tex", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } if context then ...
gpl-2.0
shingenko/darkstar
scripts/zones/Gusgen_Mines/npcs/Degga.lua
34
1186
----------------------------------- -- Area: Gusgen Mines -- NPC: Degga -- Type: Standard Info NPC -- @pos 40 -68 -259 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globa...
gpl-3.0
Illarion-eV/Illarion-Content
item/lever.lua
1
19370
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
Illarion-eV/Illarion-Content
item/id_400_candle.lua
1
1772
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
shingenko/darkstar
scripts/zones/Yuhtunga_Jungle/TextIDs.lua
9
1884
-- 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
shingenko/darkstar
scripts/zones/Windurst_Waters/npcs/Dienger.lua
38
1042
----------------------------------- -- Area: Windurst Waters -- NPC: Dienger -- Type: Melody Minstrel -- @zone: 238 -- @pos -46.448 -6.312 212.384 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -------...
gpl-3.0
shingenko/darkstar
scripts/zones/Southern_San_dOria/npcs/Carautia.lua
36
2067
----------------------------------- -- Area: Carautia -- NPC: Southern San d'Oria -- Standard Merchant NPC -- @zone 230 -- @pos 70 0 39 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"...
gpl-3.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/latex/latexconfig/lualatexquotejobname.lua
7
1031
-- $Id: lualatexquotejobname.tex 22957 2011-06-13 20:49:26Z mpg $ -- Manuel Pegourie-Gonnard, originally written 2010. WTFPL v2. -- -- Goal: see lualatexquotejobname.tex -- -- Cache the results of previous calls, not so much for the speed gain which -- probably doesn't matter, but to avoid repeated error messages. loca...
gpl-2.0
shingenko/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Soimin-Oimin_CC.lua
38
1054
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Soimin-Oimin, C.C. -- Type: Retrace -- @zone: 94 -- @pos -51.010 -6.276 213.678 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ...
gpl-3.0
master041/tele___master
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
Stepharuka/fly-game
main.lua
1
2806
require 'game_state' require 'input_handle' require 'forms' require 'forms_draw' require 'level' require 'inventory' mode = 'loading' FPS = 30 frame = 0 frame_dt = 1/FPS next_frame = 0 frame_reset = 40320 modes = { 'loading', 'title', 'level', 'equip' } function love.load() loadAssets() game ...
gpl-3.0
apaszke/nn
SpatialUpSamplingBilinear.lua
6
4384
require 'nn.THNN' local SpatialUpSamplingBilinear, parent = torch.class('nn.SpatialUpSamplingBilinear', 'nn.Module') --[[ Applies a 2D bilinear up-sampling over an input image composed of several input planes. The Y and X dimensions are assumed to be the last 2 tensor dimensions. For instance, if the tensor is 4D...
bsd-3-clause
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/layered/CycleRemovalGansnerKNV1993.lua
1
1589
-- Copyright 2011 by Jannis Pohlmann and 2012 by Till Tantau -- -- This file may be distributed and/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header$ local CycleRemovalGan...
gpl-2.0
wagonrepairer/Zero-K
LuaUI/Widgets/snd_music.lua
2
11637
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: gui_music.lua -- brief: yay music -- author: cake -- -- Copyright (C) 2007. -- Licensed under the terms of the GNU GPL, v2 or later. -- ---------...
gpl-2.0
amirhossein99/PSbot
plugins/all.lua
2
4740
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
lixiantai/barrier_breaker
feeds/luci/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
59
3798
--[[ LuCI - Lua Configuration Interface 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 ]]-- local ma...
gpl-2.0
ioiasff/aer
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
shingenko/darkstar
scripts/zones/Valkurm_Dunes/npcs/Prunilla_RK.lua
30
3052
----------------------------------- -- Area: Valkurm Dunes -- NPC: Prunilla, R.K. -- Type: Border Conquest Guards -- @pos 908.245 -1.171 -411.504 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest")...
gpl-3.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/luatex/luaotfload/fontloader-font-map.lua
2
24664
if not modules then modules = { } end modules ['font-map'] = { version = 1.001, comment = "companion to font-ini.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local tonumber, next, t...
gpl-2.0
wahern/cqueues
regress/82-localname-garbage.lua
5
1382
#!/bin/sh _=[[ . "${0%%/*}/regress.sh" exec runlua "$0" "$@" ]] require"regress".export".*" local function uname() return check(check(io.popen("uname -a", "r")):read"*a") end local function localpath(s) local family, pathname = check(fileresult(s:localname())) check(family == socket.AF_UNIX, "wrong address fami...
mit
obsy/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua
68
1959
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true codec_a_mu = module:option(Li...
apache-2.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/loop/lua/loop/thread/Timer.lua
1
2026
-------------------------------------------------------------------------------- ---------------------- ## ##### ##### ###### ----------------------- ---------------------- ## ## ## ## ## ## ## ----------------------- ---------------------- ## ## ## ## ## ###### -----------------...
lgpl-3.0
wagonrepairer/Zero-K
effects/goo.lua
17
13999
-- queen_trail -- queen_trail_fire -- large_green_goo -- green_goo -- small_green_goo -- spire_trail -- blobber_goo -- lobber_goo -- small_red_goo -- red_goo return { ["queen_trail"] = { splashes = { air = true, class = [[CSimpleParticleSystem]], count =...
gpl-2.0
veden/Rampant
prototypes/utils/UnitUtils.lua
1
75829
-- Copyright (C) 2022 veden -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- This program is distributed in the...
gpl-3.0
openwayne/chaos_theory
mods/mobf_core/mobf/environment.lua
2
37347
------------------------------------------------------------------------------- -- Mob Framework Mod by Sapier -- -- You may copy, use, modify or do nearly anything except removing this -- copyright notice. -- And of course you are NOT allow to pretend you have written it. -- -- --! @file environment.lua --! @brief com...
lgpl-2.1
shingenko/darkstar
scripts/zones/Port_Jeuno/npcs/HomePoint#1.lua
17
1247
----------------------------------- -- Area: Port Jeuno -- NPC: HomePoint#1 -- @pos 37.076 0.001 8.831 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals...
gpl-3.0
mmusial/prosody-modules
mod_post_msg/mod_post_msg.lua
32
2623
module:depends"http" local jid_split = require "util.jid".split; local jid_prep = require "util.jid".prep; local msg = require "util.stanza".message; local test_password = require "core.usermanager".test_password; local b64_decode = require "util.encodings".base64.decode; local formdecode = require "net.http".formdeco...
mit
Illarion-eV/Illarion-Content
triggerfield/potionToTeacher.lua
1
6509
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
simon-wh/PAYDAY-2-BeardLib
Modules/Addons/GlobalValueModule.lua
2
1348
GlobalValueModule = GlobalValueModule or BeardLib:ModuleClass("GlobalValue", ItemModuleBase) function GlobalValueModule:init(...) self.clean_table = table.add(clone(self.clean_table), {{param = "color", action = "normalize"}}) return GlobalValueModule.super.init(self, ...) end function GlobalValueModule:Regis...
mit
jyggen/lua-parser
tests/Fixtures/74/ce/61/404bef8752d52ad94afd628652e061e952120ad56dad68d24336ff4916.lua
1
291633
InFlightVars = { ["Horde"] = { ["Marshal's Refuge"] = { ["Crossroads"] = 391, ["Gadgetzan"] = 113, ["Mudsprocket"] = 268, ["Shadowprey Village"] = 424, ["Ratchet"] = 354, ["Orgrimmar"] = 450, ["Emerald Sanctuary"] = 617, ["Brackenwall Village"] = 294, ["Everlook"] = 675, [...
mit
Illarion-eV/Illarion-Content
triggerfield/elstree_spirit_661.lua
4
1201
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
jyggen/lua-parser
tests/Fixtures/80/6f/af/b41ae1fd3f76ce52cbe7be9d4a0dda38920b75471fbbb7a3cb80b7fd72.lua
1
1141
CensusPlus_Database = { ["TimesPlus"] = { }, ["Guilds"] = { }, ["Info"] = { ["CensusButtonAnimi"] = true, ["AutoCensusTimer"] = 1800, ["CPWindow_Transparency"] = 0.5, ["AutoCensus"] = false, ["Stealth"] = false, ["PlayFinishSound"] = false, ["Verbose"] = false, ["ClientLocale"] = "en...
mit
shingenko/darkstar
scripts/globals/items/holy_maul_+1.lua
41
1077
----------------------------------------- -- ID: 17114 -- Item: Holy Maul +1 -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
shingenko/darkstar
scripts/zones/Xarcabard/npcs/Trail_Markings.lua
17
2473
----------------------------------- -- Area: Xarcabard -- NPC: Trail Markings -- Dynamis-Xarcabard Enter -- @pos 570 0 -272 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
ArcherSys/ArcherSys
Lua/lua/lemock.lua
6
17636
------ THIS FILE IS TANGLED FROM LITERATE SOURCE FILES ------ -- Copyright (C) 2009 Tommy Pettersson <ptp@lysator.liu.se> -- See terms in file COPYRIGHT, or at http://lemock.luaforge.net module( 'lemock', package.seeall ) _VERSION = "LeMock 0.6" _COPYRIGHT = "Copyright (C) 2009 Tommy Pettersson <ptp@lysator.liu.se>" ...
mit
shingenko/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f6.lua
34
1105
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 260 -34 110 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs");...
gpl-3.0
wagonrepairer/Zero-K
scripts/spideraa.lua
11
4807
include "spider_walking.lua" include "constants.lua" -------------------------------------------------------------------------------- -- pieces -------------------------------------------------------------------------------- local base = piece 'base' local turret = piece 'turret' local barrel = piece 'barrel' local...
gpl-2.0
uhm-jade/functional-tic-tac-toe
tictactoe.lua
1
6170
local _ = require('moses') local emptyBoard emptyBoard = function() return _.fill(_.range(1, 9), 0) end local isEmptySquare isEmptySquare = function(loc, piece) return piece == 0 end local isFilledSquare isFilledSquare = function(loc, piece) return not isEmptySquare(loc, piece) end local getX getX = function(loc)...
gpl-3.0
openwayne/chaos_theory
mods/technic/technic/machines/register/extractor_recipes.lua
4
1971
local S = technic.getter technic.register_recipe_type("extracting", { description = S("Extracting") }) function technic.register_extractor_recipe(data) data.time = data.time or 4 technic.register_recipe("extracting", data) end if minetest.get_modpath("dye") then -- check if we are using dye or unifieddyes local...
lgpl-2.1
shingenko/darkstar
scripts/zones/Southern_San_dOria/npcs/Phillone.lua
34
1434
----------------------------------- -- Area: Southern San d'Oria -- NPC: Phillone -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quest...
gpl-3.0
mmusial/prosody-modules
mod_auth_custom_http/mod_auth_custom_http.lua
32
1346
-- Prosody IM -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local new_sasl = require "util.sasl".new; local json_encode = require "util.json"; local http = require "socket.http"; local options = module:get...
mit
shingenko/darkstar
scripts/zones/Port_Jeuno/npcs/qm1.lua
17
2397
----------------------------------- -- Area: Port Jeuno -- NPC: ??? -- Finish Quest: Borghertz's Hands (AF Hands, Many job) -- @zone 246 -- @pos -51 8 -4 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; -------------...
gpl-3.0
mynameiscraziu/carloss
plugins/invite.lua
20
2324
--[[ Invite other user to the chat group. Use !invite ********* (where ********* is id_number) to invite a user by id_number. This is the most reliable method. Use !invite @username to invite a user by @username. Less reliable. Some users don't have @username. Use !invite Type print_name Here to invite a user by print_...
gpl-2.0
shingenko/darkstar
scripts/zones/Mhaura/npcs/Celestina.lua
17
2605
----------------------------------- -- Area: Mhaura -- NPC: Celestina -- Finish Quest: The Sand Charm -- Involved in Quest: Riding on the Clouds -- Guild Merchant NPC: Goldsmithing Guild -- @pos -37.624 -16.050 75.681 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil...
gpl-3.0
shingenko/darkstar
scripts/zones/West_Ronfaure/npcs/Harvetour.lua
17
1867
----------------------------------- -- Area: West Ronfaure -- NPC: Harvetour -- Type: Outpost Vendor -- @pos -448 -19 -214 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("script...
gpl-3.0
openwayne/chaos_theory
mods/default/init.lua
15
1623
-- Minetest 0.4 mod: default -- See README.txt for licensing and other information. -- The API documentation in here was moved into game_api.txt -- Definitions made by this mod that other mods can use too default = {} default.LIGHT_MAX = 14 -- GUI related stuff default.gui_bg = "bgcolor[#080808BB;true]" default.gui...
lgpl-2.1
Illarion-eV/Illarion-Content
quest/alberto_dicker_674_runewick.lua
4
6867
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
psychon/awesome
tests/examples/wibox/awidget/tasklist/windows10.lua
1
2649
--DOC_GEN_IMAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE local awful = { --DOC_HIDE tag = require("awful.tag"), --DOC_HIDE placement = require("awful.placement"), --DOC_HIDE widget = {clienticon =require("awful.widget.clienticon"), --DOC_HIDE tasklist = require("awful.widget.tas...
gpl-2.0
hiddenvirushacker/hiddenvirus
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
shingenko/darkstar
scripts/zones/Bastok_Markets/npcs/Enu.lua
31
2454
----------------------------------- -- Area: Bastok Markets -- NPC: Enu -- Type: Quest NPC -- @zone: 235 -- @pos -253.673 -13 -92.326 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/globals/quests"...
gpl-3.0
fridolin2/morethings_modpack
morethings_nodes/resources.lua
1
11378
---Aliases minetest.register_alias("morethings_nodes:red_block2", "morethings_nodes:red_crystal_block") minetest.register_alias("morethings_nodes:red_block2empowered", "morethings_nodes:red_crystal_block_enhanced") ---Define Resource Blocks minetest.register_craft( { type = "shapeless", output = '"morethings_items:...
gpl-3.0
shingenko/darkstar
scripts/zones/Uleguerand_Range/mobs/Jormungand.lua
11
2484
----------------------------------- -- Area: Uleguaerand Range -- NPC: Jormungand ----------------------------------- require("scripts/globals/status"); require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInit...
gpl-3.0
openwayne/chaos_theory
mods/maptools/craftitems.lua
3
1368
--[[ Map Tools: item definitions Copyright (c) 2012-2017 Hugo Locurcio and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] local S = maptools.intllib maptools.creative = maptools.config["hide_from_creative_inventory"] minetest.register_craftitem("maptools:copper_coin", { de...
lgpl-2.1
openwayne/chaos_theory
mods/crafting_bench/intllib.lua
53
1122
-- Fallback functions for when `intllib` is not installed. -- Code released under Unlicense <http://unlicense.org>. -- Get the latest version of this file at: -- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua local function format(str, ...) local args = { ... } local function repl...
lgpl-2.1
shingenko/darkstar
scripts/globals/spells/learned_etude.lua
18
1764
----------------------------------------- -- Spell: Learned Etude -- Static INT Boost, BRD 26 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMa...
gpl-3.0
shingenko/darkstar
scripts/zones/Northern_San_dOria/npcs/Abioleget.lua
19
2190
----------------------------------- -- Area: Northern San d'Oria -- NPC: Abioleget -- Type: Quest Giver (Her Memories: The Faux Pas and The Vicasque's Sermon) / Merchant -- @zone: 231 -- @pos 128.771 0.000 118.538 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = ...
gpl-3.0
shingenko/darkstar
scripts/globals/spells/bluemagic/feather_tickle.lua
18
1194
----------------------------------------- -- Spell: Feather Tickle -- Reduces an enemy's TP -- Spell cost: 48 MP -- Monster Type: Birds -- Spell Type: Magical (Wind) -- Blue Magic Points: 3 -- Stat Bonus: AGI+1 -- Level: 64 -- Casting Time: 4 seconds -- Recast Time: 26 seconds -- Magic Bursts on: Detonation,...
gpl-3.0