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
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/xavante/src/xavante/redirecthandler.lua
1
2054
------------------------------------------------------------------------------- -- Xavante redirect handler -- -- Authors: Javier Guerra and Andre Carregal -- Copyright (c) 2004-2007 Kepler Project -- -- $Id: redirecthandler.lua,v 1.11 2008/07/25 18:40:31 mascarenhas Exp $ ---------------------------------------...
lgpl-3.0
openwayne/chaos_theory
mods/mesecons/mesecons_insulated/init.lua
2
2397
local function insulated_wire_get_rules(node) local rules = {{x = 1, y = 0, z = 0}, {x =-1, y = 0, z = 0}} if node.param2 == 1 or node.param2 == 3 then return mesecon.rotate_rules_right(rules) end return rules end minetest.register_node("mesecons_insulated:insulated_on", { drawtype = "nodebox", descri...
lgpl-2.1
ArcherSys/ArcherSys
Lua/examples/luagl/nehe_04.lua
1
3301
require("iuplua") require("iupluagl") require("luagl") require("luaglu") iup.key_open() rtri = 0 rquad = 0 cnv = iup.glcanvas{buffer="DOUBLE", rastersize = "640x480"} timer = iup.timer{time=10} function timer:action_cb() rtri = rtri + 0.2 -- Increase The Rotation Variable For The Triangle ( NEW ) r...
mit
shingenko/darkstar
scripts/globals/mobskills/Dreadstorm.lua
13
1024
--------------------------------------------- -- Dreadstorm -- -- Description: Deals magical damage in an area of effect. Additional effect: Terror -- Type: Magical -- Wipes Shadows -- Range: 13' radial --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/stat...
gpl-3.0
wagonrepairer/Zero-K
effects/grav.lua
17
3193
-- grav return { ["grav"] = { drag = { air = true, class = [[CSimpleParticleSystem]], ground = true, water = true, properties = { airdrag = 1, colormap = [[1 .5 1 .1 0 0 0 0]], direct...
gpl-2.0
mrbougo/hedgewars-scripts
Multiplayer/Better_Balanced_Random_Weapon.lua
1
5852
---------------------------------------------------------------------------------- --Better Balanced Random Weapons: --A modification of the default Balanced Random Weapons, including the latest --weapons. -- --Copyright 2012, 2013 by MrBougo <bougospam@gmail.com> -- --Original copyrights (guessed from svn logs): --Bal...
gpl-2.0
LuaAV/LuaAV4
modules/shader.lua
1
6499
--- shader: Friendly wrapper for OpenGL GLSL shaders -- @module shader local gl = require "gl" local glu = require "glu" local ffi = require "ffi" local shader = {} shader.__index = shader local function new(vcode, fcode) local self = { vertex_shaders = { vcode }, fragment_shaders = { fcode }, id = nil, att...
mit
wagonrepairer/Zero-K
LuaUI/Widgets/chili/Skins/default/skin.lua
8
17618
--//============================================================================= --// default local skin = { info = { name = "default", version = "0.1", author = "jK", } } --//============================================================================= --// Render Helpers local function _DrawBo...
gpl-2.0
jyggen/lua-parser
tests/Fixtures/a1/9f/96/e56ed6b35aeb53cfab861002cd3df4163649d1132e0eeb11efba45c230.lua
1
20608
wlScans = { ["heirlooms"] = "122349:1,122352:1,122366:0,122354:0,122367:0,122385:0,122386:0,122389:0,122351:0,122369:0,122365:0,122363:0,122353:1,122368:0,105690:0,122350:0,122364:0,122391:0,105680:0,122392:0,122387:0,122263:0,122264:0,122388:0,122381:1,122245:1,122251:1,122355:1,127010:0,127012:0,127011:0,122373:0,1...
mit
wagonrepairer/Zero-K
LuaUI/Widgets/gui_iconheight.lua
15
6634
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Icon Height", desc = "Displays icons for all units at once, depending on camera height", a...
gpl-2.0
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/stats/server/main.lua
3
4225
addEvent("onPlayerReachCheckpoint", true) addEventHandler("onPlayerReachCheckpoint", root, function() incrementPlayerStatsData(source, "temp_id4", 1) end ) addEvent("onPlayerFinish") addEventHandler("onPlayerFinish", root, function(rank) local modename = exports.race:getRaceMode() if modename == "Sprint" then...
mit
soonhokong/travis_test
tests/lua/sect8.lua
1
1464
local env = environment() env = env:begin_section_scope() local nat = Const("nat") env = add_inductive(env, "nat", Type, "zero", nat, "succ", mk_arrow(nat, nat)) local zero = Const("zero") local succ = Const("succ") env = env:begin_section_scope(...
apache-2.0
shingenko/darkstar
scripts/zones/Crawlers_Nest/npcs/qm3.lua
14
1043
----------------------------------- -- Area: Crawlers' Nest -- NPC: ??? - Drown Crawler (Spawn area 1) -- @pos 4.045 -2.703 285.026 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Crawlers_Nest/Text...
gpl-3.0
shingenko/darkstar
scripts/zones/West_Ronfaure/npcs/Stone_Monument.lua
32
1287
----------------------------------- -- Area: West Ronfaure -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos -183.734 -12.678 -395.722 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
ioiasff/aer
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
shingenko/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Dwago.lua
34
1290
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Dwago -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("s...
gpl-3.0
sirinsidiator/ESO-AetheriusBadgeFilter
src/StartUp.lua
1
6325
local ADDON_NAME = "AetheriusBadgeFilter" local ABF = { class = {}, internal = { gettext = LibGetText(ADDON_NAME).gettext } } _G[ADDON_NAME] = ABF local class = ABF.class local internal = ABF.internal local nextEventHandleIndex = 1 local function RegisterForEvent(event, callback) local eventHa...
artistic-2.0
ArcherSys/ArcherSys
Lua/lua/oil/corba/giop/Listener.lua
1
15255
-------------------------------------------------------------------------------- ------------------------------ ##### ## ------------------------------ ------------------------------ ## ## # ## ------------------------------ ------------------------------ ## ## ## ## ---------------------------...
mit
openwayne/chaos_theory
mods/mobf_core/mobf/mgen_flee/main_flee.lua
2
13762
------------------------------------------------------------------------------- -- 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 main_flee.lua --! @brief componen...
lgpl-2.1
shingenko/darkstar
scripts/zones/QuBia_Arena/bcnms/heir_to_the_light.lua
18
1805
----------------------------------- -- Name: Mission 9-2 SANDO ----------------------------------- package.loaded["scripts/zones/Qubia_arena/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/zones/QuBia_Arena/TextIDs"); --...
gpl-3.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/lib/Bezier.lua
1
4404
-- Copyright 2013 by Till Tantau -- -- This file may be distributed an/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$ --- -- This library offers a number of methods fo...
gpl-2.0
wagonrepairer/Zero-K
units/cremcom1.lua
3
8116
unitDef = { unitname = [[cremcom1]], name = [[Knight Commander]], description = [[Mobile Assault Commander, Builds at 10 m/s]], acceleration = 0.18, activateWhenBuilt = true, amphibious = [[1]], autoHeal = 5, brakeRate ...
gpl-2.0
aTastyCookie/telegram-bot
plugins/plugins.lua
4
4731
do -- Retruns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
Pd2VoidTeam/VoidUI
lua/hud/HudSuspicion.lua
1
11068
if VoidUI.options.enable_suspicion then function HUDSuspicion:init(hud, sound_source) self._hud_panel = hud.panel self._sound_source = sound_source self._scale = VoidUI.options.suspicion_scale if self._hud_panel:child("suspicion_panel") then self._hud_panel:remove(self._hud_panel:child("suspicion_panel")) ...
gpl-3.0
TheAncientGoat/GodheadLips
data/godhead/scripts/client/views/controls.lua
1
5456
require "client/widgets/binding" Views.Controls = Class(Widget) Views.Controls.new = function(clss) local self = Widget.new(clss, {cols = 1, rows = 3, spacings = {0, 0}}) self.title = Widgets.Title{text = "Controls", back = function() self:back() end, close = function() Client:set_mode("game") end, help = fun...
gpl-3.0
ArcherSys/ArcherSys
Lua/lua/luarocks/fs/unix/tools.lua
1
11094
--- fs operations implemented with third-party tools for Unix platform abstractions. module("luarocks.fs.unix.tools", package.seeall) local fs = require("luarocks.fs") local dir = require("luarocks.dir") local cfg = require("luarocks.cfg") local dir_stack = {} --- Run the given command. -- The command is executed i...
mit
openwayne/chaos_theory
mods/farming/blueberry.lua
12
1857
local S = farming.intllib -- blueberries minetest.register_craftitem("farming:blueberries", { description = S("Blueberries"), inventory_image = "farming_blueberries.png", on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "farming:blueberry_1") end,...
lgpl-2.1
hiddenvirushacker/hiddenvirus
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
hiddenvirushacker/hiddenvirus
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
shingenko/darkstar
scripts/zones/Davoi/npcs/_452.lua
31
1163
----------------------------------- -- Area: Davoi -- NPC: _452 (Elevator Lever) -- Notes: Used to operate Elevator @450 (actual npc script is _454) ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
openwayne/chaos_theory
mods/homedecor/kitchen_furniture.lua
4
4304
-- This file supplies Kitchen cabinets and kitchen sink local S = homedecor_i18n.gettext local cabinet_sides = "(default_wood.png^[transformR90)^homedecor_kitchen_cabinet_bevel.png" local cabinet_bottom = "(default_wood.png^[colorize:#000000:100)^(homedecor_kitchen_cabinet_bevel.png^[colorize:#46321580)" local funct...
lgpl-2.1
ArcherSys/ArcherSys
Lua/lua/pl/dir.lua
12
15653
--- Useful functions for getting directory contents and matching them against wildcards. -- -- Dependencies: `pl.utils`, `pl.path`, `pl.tablex` -- -- Soft Dependencies: `alien`, `ffi` (either are used on Windows for copying/moving files) -- @module pl.dir local utils = require 'pl.utils' local path = require 'pl.path'...
mit
Illarion-eV/Illarion-Content
craft/intermediate/potashmaking.lua
1
1953
--[[ 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
ArchAngel075/CurseEngine-TheDarkness
mods/CORE/worlds/defaultWorld/defaultWorld_Map.lua
1
76376
return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 128, height = 128, tilewidth = 32, tileheight = 32, properties = {}, tilesets = { { name = "Dunji", firstgid = 1, tilewidth = 32, tileheight = 32, spacing = 0, margin = 0, im...
gpl-2.0
shingenko/darkstar
scripts/globals/items/plate_of_urchin_sushi_+1.lua
35
1530
----------------------------------------- -- ID: 5160 -- Item: plate_of_urchin_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 40 -- Strength 1 -- Vitality 5 -- Accuracy % 16 -- Ranged ACC % 16 -- Sleep Resist 5 ----------------------------------------- requir...
gpl-3.0
LuaAV/LuaAV4
examples/alife/evo_turtle.lua
1
3476
local draw2D = require "draw2D" local vec2 = require "vec2" math.randomseed(os.time()) win = Window(nil, 800, 400) -- alphabet: -- F: forward drawing a line -- J: jump forward (without drawing) -- +, -: turn clockwise/anticlockwise -- [ ] : push / pop the turtle -- *, /: change scale -- |: mirror -- t, s: sin/cos l...
mit
obsy/luci
applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua
141
1038
--[[ smap_devinfo - SIP Device Information (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 $Id$ ]]-- require("luci.i18n") re...
apache-2.0
obsy/luci
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua
78
2244
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. require("luci.sys") require("luci.sys.zoneinfo") require("luci.tools.webadmin") require("luci.util") m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device li...
apache-2.0
Illarion-eV/Illarion-Content
item/id_505_treasuremap.lua
1
4248
--[[ 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
AleksCore/Mr.Green-MTA-Resources
resources/[web]/irc/scripts/socketerrors.lua
4
19401
function getSocketErrorString (i) if type(i) == "number" and sockets[i] then return sockets[i] else return "Unknown error" end end -- linux error codes local socketErrors = {} socketErrors[001] = "Operation not permitted" socketErrors[002] = "No such file or...
mit
lixiantai/barrier_breaker
feeds/luci/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
matinJ/skynet
lualib/snax.lua
59
3683
local skynet = require "skynet" local snax_interface = require "snax.interface" local snax = {} local typeclass = {} local interface_g = skynet.getenv("snax_interface_g") local G = interface_g and require (interface_g) or { require = function() end } interface_g = nil skynet.register_protocol { name = "snax", id =...
mit
xswm1123/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
changjiashuai/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
centreon/centreon-broker
simu/docker/lua/bam/ba_events.lua
1
1135
local _ba_event = {} local function build(ba_id) local now = os.time() local retval = { category = 6, element = 4, _type = 393220, ba_id = ba_id, first_level = 1, end_time = now, in_downtime = 0, start_time = 30, status = 1 } return retval end local ba_event = { name = "B...
apache-2.0
AleksCore/Mr.Green-MTA-Resources
resources/[race]/race_progress/defaultSettings.lua
4
1656
--- -- Defines the default settings for the progress bar -- which can be changed by each player indivudally via -- the GUI. -- -- @author driver2 -- @copyright 2009-2010 driver2 -- -- Recent changes: -- 2010-02-09: Added toggleSettingsGuiKey, commented out unused settings defaultSettings = { ["enabled"] = false, ["...
mit
ArchAngel075/CurseEngine-TheDarkness
mods/CORE/models/defaultGunModel.lua
1
1631
local model = { type="class", } function model:new() local o = {} -- create a copy of the base data... setmetatable(o, self) self.__index = self return o end function model:init() local imgPath = Utils.deepcopy(self.path) imgPath[3] = "defaultgun.png" table.insert(imgPath,1,"mods") imgPath = table.concat(img...
gpl-2.0
dotNetDR/docker_images
sysbench/sysbench-0.5/sysbench/tests/db/select_random_points.lua
13
3996
-- This test is designed for testing MariaDB's key_cache_segments for MyISAM, -- and should work with other storage engines as well. -- -- For details about key_cache_segments please refer to: -- http://kb.askmonty.org/v/segmented-key-cache -- function prepare() local query local i set_vars() db_connect()...
gpl-2.0
jyggen/lua-parser
tests/Fixtures/96/71/90/11fa5371e371e7e7ee19b6e561a58692380f6980afe1b9d01fca81832a.lua
1
224889
Grid2DB = { ["namespaces"] = { ["Grid2Frame"] = { ["profiles"] = { ["Jyggsex - Draenor"] = { ["frameWidth"] = 65, }, ["Keestra - Argent Dawn"] = { ["frameWidth"] = 65, }, ["Jyggnio - Draenor"] = { ["frameWidth"] = 65, }, ["Jyggfem - Draenor"] = { ["f...
mit
truefitness/vlc
share/lua/playlist/canalplus.lua
113
3501
--[[ $Id: $ Copyright (c) 2007 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 of the License, or (at your option) any later version. This program is distr...
gpl-2.0
openwayne/chaos_theory
mods/mobs_npc/igor.lua
1
2690
local S = mobs.intllib -- Igor by TenPlus1 mobs.igor_drops = { "vessels:glass_bottle", "mobs:meat_raw", "default:sword_steel", "farming:bread", "bucket:bucket_water" } mobs:register_mob("mobs_npc:igor", { type = "npc", passive = false, damage = 5, attack_type = "dogfight", pathfinding = true, reach = 2, at...
lgpl-2.1
mynameiscraziu/carloss
plugins/help.lua
25
4629
do function pairsByKeys(t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] end end return iter end...
gpl-2.0
matinJ/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
fengshao0907/SOHU-DBProxy
tests/suite/base/t/no_backend.lua
4
2123
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is dis...
gpl-2.0
shingenko/darkstar
scripts/globals/items/roll_of_buche_au_chocolat.lua
36
1521
----------------------------------------- -- ID: 5550 -- Item: Roll of Buche Au Chocolat -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +8 -- MP +3% Cap 13 -- Intelligence +2 -- HP Recovered while healing +1 -- MP Recovered while healing +4 -----------------------...
gpl-3.0
dmccuskey/dmc-files
examples/dmc-files-readconfig/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
diz-vara/nn
TemporalSubSampling.lua
19
1710
local TemporalSubSampling, parent = torch.class('nn.TemporalSubSampling', 'nn.Module') function TemporalSubSampling:__init(inputFrameSize, kW, dW) parent.__init(self) dW = dW or 1 self.inputFrameSize = inputFrameSize self.kW = kW self.dW = dW self.weight = torch.Tensor(inputFrameSize) self.bias...
bsd-3-clause
shingenko/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
shingenko/darkstar
scripts/zones/Windurst_Woods/npcs/Terude-Harude.lua
53
1899
----------------------------------- -- Area: Windurst Woods -- NPC: Terude-Harude -- Type: Clothcraft Adv. Image Support -- @pos -32.350 -2.679 -116.450 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/st...
gpl-3.0
shingenko/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
shingenko/darkstar
scripts/globals/abilities/fire_maneuver.lua
35
1604
----------------------------------- -- Ability: Fire Maneuver -- Enhances the effect of fire attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
jyggen/lua-parser
tests/Fixtures/2b/33/b4/41576f7dcc498d8a4d66f1f5e689114879a56eb6b0400ef0cb86379bbc.lua
1
6471
MasterPlanPC = { ["legendStep"] = 1, ["moE"] = 53.42, ["moN"] = 68, ["moV"] = 9.4368, ["goldRewardThreshold"] = 0, ["complete"] = { [127] = 1448763238, [190] = 1473194977, [254] = 1472565516, [380] = 1473194977, [444] = 1434997244, [633] = 1447627759, [381] = 1473789949, [445] = 14...
mit
shingenko/darkstar
scripts/zones/RuLude_Gardens/npcs/Laityn.lua
17
1189
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Laityn -- Involved In Quest: Recollections ----------------------------------- require("scripts/globals/quests"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trad...
gpl-3.0
shingenko/darkstar
scripts/zones/Talacca_Cove/Zone.lua
28
1314
----------------------------------- -- -- Zone: Talacca_Cove (57) -- ----------------------------------- package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Talacca_Cove/TextIDs"); ----------------------...
gpl-3.0
AleksCore/Mr.Green-MTA-Resources
resources/[race]/race_ghost/record_server.lua
4
2865
newghostForumid, newghostMapname = nil, nil addCommandHandler('deleteghost', function(client) local forumid = exports.gc:getPlayerForumID(client) -- if (forumid and playback.forumid == forumid) or hasObjectPermissionTo(client, "function.banPlayer", false) then if (forumid and playback.forumid == forumid) then fil...
mit
openwayne/chaos_theory
mods/mesecons/mesecons_fpga/logic.lua
3
4766
local lg = {} -- (de)serialize lg.serialize = function(t) local function _op(t) if t == nil then return " " elseif t.type == "io" then return t.port else -- t.type == "reg" return tostring(t.n) end end local function _action(s) if s == nil then return " " end local mapping = { ["and"] =...
lgpl-2.1
mmusial/prosody-modules
mod_blocking/mod_blocking.lua
32
5669
local jid_split = require "util.jid".split; local st = require "util.stanza"; local xmlns_blocking = "urn:xmpp:blocking"; module:add_feature("urn:xmpp:blocking"); -- Add JID to default privacy list function add_blocked_jid(username, host, jid) local privacy_lists = datamanager.load(username, host, "privacy") or {li...
mit
ShafiqSadat/oldtab
bot.lua
1
14174
redis = (loadfile "./redis.lua")() redis = redis.connect('127.0.0.1', 6379) redis:select(1) ADMIN = 65761134 function ok_cb(extra, success, result) end function is_Naji(id) if ((id == ADMIN) or redis:sismember("selfbot:admins",id)) then return true else return false end end function get_receiver(msg) local ...
unlicense
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/mrgreen-settings/btwheel.lua
3
2452
local diditload = false local dff,txd function loadBTWheels(load) if load == true then txd = engineLoadTXD("wheels/bt/j2_wheels.txd", 1082 ) engineImportTXD(txd, 1082) dff = engineLoadDFF("wheels/bt/wheel_gn1.dff", 1082 ) engineReplaceModel(dff, 1082) dff = engineLoadDFF("wheels/bt/wheel_gn2.df...
mit
AleksCore/Mr.Green-MTA-Resources
resources/[race]/race/editor_support_server.lua
4
5993
-- -- editor_support_server.lua -- function isEditor() -- see if editor resource running if g_IsEditor == nil then local editorRes = getResourceFromName( "editor" ) g_IsEditor = editorRes and getResourceState( editorRes ) == 'running' outputDebug ( "Server: Is editor " .. tostring(g_IsEditor == true) ) end ...
mit
shingenko/darkstar
scripts/globals/weaponskills/spinning_slash.lua
30
1563
----------------------------------- -- Spinning Slash -- Great Sword weapon skill -- Skill level: 225 -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:30% ; INT:30% -- 100%TP 200%TP 300%TP -- 2.5 3 3.5 ----------------------------------- require("scripts/globals/status"); require...
gpl-3.0
obsy/luci
applications/luci-app-pbx/luasrc/model/cbi/pbx-advanced.lua
99
14473
--[[ 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 ...
apache-2.0
Marduke/1MI
1mi_0.0.1/prototypes/override_base.lua
2
1104
require "defines" enableRecipe("lab", false) enableRecipe("iron-chest", false) enableRecipe("basic-transport-belt", false) enableRecipe("basic-mining-drill", false) enableRecipe("basic-inserter", false) enableRecipe("pipe", false) enableRecipe("pipe-to-ground", false) enableRecipe("boiler", false) enableRecipe("small-...
lgpl-3.0
shingenko/darkstar
scripts/zones/Apollyon/mobs/Fire_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
helkarakse/AdminTicket
src/json.lua
3
15155
----------------------------------------------------------------------------- -- JSON4Lua: JSON encoding / decoding support for the Lua language. -- json Module. -- Author: Craig Mason-Jones -- Homepage: http://json.luaforge.net/ -- Version: 0.9.40 -- This module is released under the MIT License (MIT). -- Please see L...
gpl-2.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/planar/PlanarLayout.lua
1
4326
local PlanarLayout = {} require("pgf.gd.planar").PlanarLayout = PlanarLayout -- imports local Coordinate = require "pgf.gd.model.Coordinate" local Storage = require "pgf.gd.lib.Storage" local BoyerMyrvold = require "pgf.gd.planar.BoyerMyrvold2004" local ShiftMethod = require "pgf.gd.planar.ShiftMethod" local Embeddi...
gpl-2.0
AleksCore/Mr.Green-MTA-Resources
resources/[race]/race_toptimes/maptimes_server.lua
4
12266
-- -- maptimes_server.lua -- SMaptimes = {} SMaptimes.__index = SMaptimes SMaptimes.instances = {} tableprefix = {} tableprefix['Reach the flag'] = 'race maptimes Freeroam' tableprefix['Never the same'] = 'race maptimes Sprint' tableprefix['Manhunt'] = 'manhunt maptimes Freeroam' tableprefix['Destruction derby'] = 'm...
mit
jyggen/lua-parser
tests/Fixtures/c7/63/51/a51899a5b8869973eeee800dff863b909a6108a13a842a2aa084cf50f7.lua
1
12176
Overachiever_CharVars = { ["Version"] = "0.82", } Overachiever_CharVars_Consumed = { ["PandaEats2"] = { [74649] = 0, [74651] = 0, [74653] = 0, [74655] = 0, [86069] = 0, [75037] = 0, [74636] = 0, [74642] = 0, [74644] = 0, [74646] = 0, [74648] = 0, [74650] = 0, [74652] = 0, [75026] = 0, [...
mit
shingenko/darkstar
scripts/globals/spells/bluemagic/asuran_claws.lua
28
1798
----------------------------------------- -- Spell: Asuran Claws -- Delivers a sixfold attack. Accuracy varies with TP -- Spell cost: 81 MP -- Monster Type: Beasts -- Spell Type: Physical (Blunt) -- Blue Magic Points: 2 -- Stat Bonus: AGI +3 -- Level: 70 -- Casting Time: 3 seconds -- Recast Time: 60 seconds ...
gpl-3.0
openwayne/chaos_theory
mods/lrfurn/sofas.lua
1
3466
local S = homedecor_i18n.gettext local sofa_cbox = { type = "wallmounted", wall_side = {-0.5, -0.5, -0.5, 0.5, 0.5, 1.5} } minetest.register_node("lrfurn:sofa", { description = S("Sofa"), drawtype = "mesh", mesh = "lrfurn_sofa_short.obj", tiles = { "lrfurn_upholstery.png", { name = "lrfurn_sofa_bottom.png"...
lgpl-2.1
sirinsidiator/ESO-AetheriusBadgeFilter
src/data/_Example.lua
1
1536
AetheriusBadgeFilter:RegisterGuild(AetheriusBadgeFilter.SERVER_EU, "Your Guild Name", { { badges = { { name = "MyBadge", -- mandatory field, this name must match what is used in the badge list description = "My Description", -- optional, shows a tooltip when ...
artistic-2.0
shingenko/darkstar
scripts/globals/items/calico_comet.lua
18
1281
----------------------------------------- -- ID: 5715 -- Item: Calico Comet -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
oneboter/myboters
plugins/banhammer.lua
6
12758
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('درحال بررسی شخص اینوایت شده '..user_id) local b...
gpl-2.0
ld-test/dromozoa-commons
test/test_xml.lua
3
1078
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-commons. -- -- dromozoa-commons 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...
gpl-3.0
psychon/awesome
tests/examples/wibox/awidget/prompt/hooks.lua
4
2138
--DOC_GEN_IMAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE local wibox = require( "wibox" ) --DOC_HIDE local awful = { prompt = require("awful.prompt"),--DOC_HIDE util = require("awful.util"), --DOC_HIDE spawn = function () end } --DOC_HIDE local be...
gpl-2.0
shingenko/darkstar
scripts/globals/items/loach_gruel.lua
35
1674
----------------------------------------- -- ID: 5670 -- Item: loach_soup -- Food Effect: 4Hour,Group Food, All Races ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Accuracy % 7 -- Accuracy Cap 30 -- HP % 7 -- HP Cap 30 -- Evasion 4 -- (Did Not Add Group Food Effect) -------------...
gpl-3.0
shingenko/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/Grounds_Tome.lua
34
1146
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onT...
gpl-3.0
shingenko/darkstar
scripts/zones/Waughroon_Shrine/npcs/Burning_Circle.lua
17
2216
----------------------------------- -- Area: Waughroon Shrine -- NPC: Burning Circle -- Waughroon Shrine Burning Circle -- @pos -345 104 -260 144 ------------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ------------------------------------- require("scripts/global...
gpl-3.0
shingenko/darkstar
scripts/globals/spells/bluemagic/regeneration.lua
46
1483
----------------------------------------- -- Spell: Regeneration -- Gradually restores HP -- Spell cost: 36 MP -- Monster Type: Aquans -- Spell Type: Magical (Light) -- Blue Magic Points: 2 -- Stat Bonus: MND+2 -- Level: 78 -- Casting Time: 2 Seconds -- Recast Time: 60 Seconds -- Spell Duration: 30 ticks, 90 Seconds --...
gpl-3.0
shingenko/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Signpost.lua
19
1356
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Signpost ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Buburimu_Peninsula/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
ArcherSys/ArcherSys
Lua/examples/classlib/set.lua
1
2050
require 'tuple' class.Set() function Set:__init(...) -- Construct with initial elements local arg = {...} self.elem = {} self.n = #arg for i, v in ipairs(arg) do self.elem[v] = true end end function Set:__tostring() -- String representation local function ascii(e) return type(e) == 'string' and string.format(...
mit
imzyxwvu/objective-and-sync
deps/haml/header.lua
1
2919
local ext = require "haml.ext" local do_error = ext.do_error module "haml.header" --- The HTML4 doctypes; default is 4.01 Transitional. html_doctypes = { ["5"] = '<!DOCTYPE html>', STRICT = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">', FRAMESET = '<!DOCTYPE h...
mit
ArcherSys/ArcherSys
Lua/lua/vstruct/gen_pack.lua
2
2338
local require,table = require,table module((...)) local parse = require(_PACKAGE.."parser") local gen = {} gen.preamble = [[ local fd,data = ... local stack = {} local index = 1 local start = fd:seek() local len = 0 local function push(key) if not key then key = index index = index + 1 end stack[#stack+1]...
mit
shingenko/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gd.lua
34
1341
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gd (Lever F) -- @pos 44 -20.56 143.802 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -----------------...
gpl-3.0
openwayne/chaos_theory
mods/doors/init.lua
2
22789
-- our API object doors = {} -- private data local _doors = {} _doors.registered_doors = {} _doors.registered_trapdoors = {} local function replace_old_owner_information(pos) local meta = minetest.get_meta(pos) local owner = meta:get_string("doors_owner") if owner and owner ~= "" then meta:set_string("owner", ow...
lgpl-2.1
Illarion-eV/Illarion-Content
quest/introduction_46.lua
1
3440
--[[ 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/Al_Zahbi/Zone.lua
28
1323
----------------------------------- -- -- Zone: Al_Zahbi (48) -- ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------...
gpl-3.0
fingon/hnet-core
hp_core.lua
1
22199
#!/usr/bin/env lua -- -*-lua-*- -- -- $Id: hp_core.lua $ -- -- Author: Markus Stenberg <markus stenberg@iki.fi> -- -- Copyright (c) 2013 cisco Systems, Inc. -- -- Created: Tue May 7 11:44:38 2013 mstenber -- Last modified: Tue Nov 5 03:54:12 2013 mstenber -- Edit time: 532 min -- -- This is the 'main modul...
gpl-2.0
ArcherSys/ArcherSys
Lua/lua/pl/class.lua
12
5169
--- Provides a reuseable and convenient framework for creating classes in Lua. -- Two possible notations: -- -- B = class(A) -- class.B(A) -- -- The latter form creates a named class. -- -- See the Guide for further @{01-introduction.md.Simplifying_Object_Oriented_Programming_in_Lua|discussion} -- @module pl.clas...
mit
jyggen/lua-parser
tests/Fixtures/db/b5/48/5c7f804ecc75ff4f724d935c469e2205cca5df0f633e6fed2c4a11acd7.lua
1
3325
EasyMail_SavedVars = { ["Guild"] = "N", ["DelPending"] = "N", ["ClickDel"] = "N", ["Auchindoun"] = { ["Horde"] = { ["LastAddressee"] = { ["Micheeéeelle"] = "", }, ["MailListLen"] = 15, ["EasyMailList"] = { }, }, ["Alliance"] = { ["LastAddressee"] = { ["Jyggen"] = "Sa...
mit