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 |
|---|---|---|---|---|---|
TheAnswer/FirstTest | bin/scripts/slashcommands/generic/npcConversationStart.lua | 1 | 2559 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
zain211/zain.aliraqe | addsudo.lua | 6 | 1411 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY jOker ▀▄ ▄▀
▀▄ ▄▀ BY joker (@fuck_8_you) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY joker ▀▄ ▄▀
▀▄ ▄▀ broadcast : اضف مطور ▀▄ ▄▀
▀▄▀... | gpl-3.0 |
PAPAGENO-devels/papageno | test/benchmarks/Lua/lua-regression-test/grim/bonewagon_gl.lua | 1 | 1714 | bonewagon_gl_no_shocks = 0
bonewagon_gl_shocks = 1
bonewagon_gl_stay_up = 2
bonewagon_gl_turn_rt = 3
bonewagon_gl_hold_rt = 4
bonewagon_gl_rt_to_ctr = 5
bonewagon_gl_hold_ctr = 6
bonewagon_gl_turn_lft = 7
bonewagon_gl_hold_lft = 8
bonewagon_gl_lft_to_ctr = 9
bonewagon_gl_down = 10
bonewagon_gl_ma_jump_in = 11
bonewagon... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/yavin4/creatures/geonosianForceKliknik.lua | 1 | 5139 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/dantooine/creatures/bol.lua | 1 | 4697 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/gamemode/modules/christmas/snow.lua | 1 | 5047 | --[[---------------------------------------------------------
Register the convars that will control this effect
-----------------------------------------------------------]]
local pp_tickrate = CreateClientConVar( "pp_snow_tickrate", "0.5", true, false )
local pp_snow = CreateClientConVar( "pp_snow", "1", false, f... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/object/static/test/objects.lua | 1 | 7042 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later ve... | lgpl-3.0 |
yav/language-lua | lua-5.3.1-tests/files.lua | 3 | 19878 | -- $Id: files.lua,v 1.88 2015/05/15 12:29:29 roberto Exp $
local debug = require "debug"
assert(type(os.getenv"PATH") == "string")
assert(io.input(io.stdin) == io.stdin)
assert(not pcall(io.input, "non-existent-file"))
assert(io.output(io.stdout) == io.stdout)
local function checkerr (msg, f, ...)
local stat, err... | bsd-3-clause |
TheAnswer/FirstTest | bin/scripts/slashcommands/skills/combatEscape.lua | 1 | 2515 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
Xeltor/ovale | dist/Variables.lua | 1 | 2708 | local __exports = LibStub:NewLibrary("ovale/Variables", 80300)
if not __exports then return end
local __class = LibStub:GetLibrary("tslib").newClass
local pairs = pairs
__exports.Variables = __class(nil, {
constructor = function(self, ovaleFuture, baseState, ovaleDebug)
self.ovaleFuture = ovaleFuture
... | mit |
TheAnswer/FirstTest | bin/scripts/creatures/objects/dathomir/npcs/spiderNightsister/spiderNightsisterSentry.lua | 1 | 4636 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/object/token/objects.lua | 1 | 3032 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later ve... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/items/objects/clothing/wookiee/wookieeHood2.lua | 1 | 2338 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/items/bluefrog/rangedStimPackSet.lua | 1 | 2240 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/object/tangible/lair/huurton/objects.lua | 1 | 4684 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later ve... | lgpl-3.0 |
Andrettin/Wyrmsun | scripts/world_earth_tiles_scotland.lua | 1 | 1804 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
weiDDD/WSSParticleSystem | cocos2d/cocos/scripting/lua-bindings/auto/api/MenuItemSprite.lua | 1 | 2372 |
--------------------------------
-- @module MenuItemSprite
-- @extend MenuItem
-- @parent_module cc
--------------------------------
-- Enables or disables the item.
-- @function [parent=#MenuItemSprite] setEnabled
-- @param self
-- @param #bool bEnabled
-- @return MenuItemSprite#MenuItemSprite self (re... | apache-2.0 |
TheAnswer/FirstTest | bin/scripts/crafting/objects/draftschematics/weaponsmith/noviceWeaponsmith/blasterPowerhandler.lua | 1 | 4265 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
bartvm/Penlight | lua/pl/xml.lua | 14 | 25405 | --- XML LOM Utilities.
--
-- This implements some useful things on [LOM](http://matthewwild.co.uk/projects/luaexpat/lom.html) documents, such as returned by `lxp.lom.parse`.
-- In particular, it can convert LOM back into XML text, with optional pretty-printing control.
-- It is s based on stanza.lua from [Prosody](http... | mit |
trentapple/BetterUI | BetterUI.lua | 2 | 9423 | local _
local LAM = LibStub:GetLibrary("LibAddonMenu-2.0")
local dirtyModules = false
if BUI == nil then BUI = {} end
function BUI.InitModuleOptions()
local panelData = Init_ModulePanel("Master", "Master Addon Settings")
local optionsTable = {
{
type = "header",
name = "Master Settings",
width = "full... | mit |
weiDDD/WSSParticleSystem | cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsJointMotor.lua | 1 | 1258 |
--------------------------------
-- @module PhysicsJointMotor
-- @extend PhysicsJoint
-- @parent_module cc
--------------------------------
-- Set the relative angular velocity.
-- @function [parent=#PhysicsJointMotor] setRate
-- @param self
-- @param #float rate
-- @return PhysicsJointMotor#PhysicsJoint... | apache-2.0 |
frioux/sysdig | userspace/sysdig/chisels/stderr.lua | 10 | 2756 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without e... | gpl-2.0 |
fkaa/iceball | pkg/iceball/lib/map.lua | 4 | 1629 | --[[
Copyright (c) 2014 Team Sparkle
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | gpl-3.0 |
TheAnswer/FirstTest | bin/scripts/crafting/objects/draftschematics/weaponsmith/advancedFirearmsCrafting/dl44MetalPistol.lua | 1 | 4750 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
sweetbot0/sweetbot | plugin/arsupergroup.lua | 2 | 79686 | --Begin supergrpup.lua
--Check members #Add supergroup
local function check_member_super(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
if success == 0 then
send_large_msg(receiver, "Promote me to admin first!")
end
for k,v in pairs(result)... | gpl-3.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/gamemode/prepackagedmapprofiles/zs_infected_city_b1.lua | 2 | 1376 | SRL={{["Class"]="info_player_zombie",["Angles"]=Angle(0,-114.80297088623,0),["Position"]=Vector(1529.556640625,2935.6630859375,-351.96875)},{["Class"]="info_player_zombie",["Angles"]=Angle(0,-161.94329833984,0),["Position"]=Vector(1531.6019287109,2698.0905761719,-351.96875)},{["Class"]="info_player_zombie",["Angles"]=A... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/endor/npcs/donkuwah/donkuwahLaborer.lua | 1 | 4599 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/yavin4/creatures/skreegAdolescent.lua | 1 | 4723 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Mohammadrezar/telediamond | plugins/on_off.lua | 12 | 1983 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | agpl-3.0 |
Andrettin/Wyrmsun | scripts/civilizations/portuguese/factions_brazilian.lua | 1 | 1875 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/npcs/imperial/imperialStaffCorporal.lua | 1 | 4619 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Andrettin/Wyrmsun | scripts/civilizations/gnome/factions.lua | 1 | 2096 | DefineFaction("cubital-tribe", { -- Source: Franz Hartmann, "Among the Gnomes", 1895, pp. 157-158.
Name = "Cubital Tribe",
Adjective = "Cubital",
Civilization = "gnome",
Type = "tribe",
Color = "brown",
Description = "The Cubitals are a hard-working tribe of gnomes, being known for their muscular strength and the... | gpl-2.0 |
Andrettin/Wyrmsun | scripts/species/ethereal/angel.lua | 1 | 1726 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
fkaa/iceball | pkg/iceball/altgame/client_start.lua | 4 | 5865 | --[[
Copyright (c) 2014 Team Sparkle
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | gpl-3.0 |
MaxG87/awesome | lib/wibox/layout/base.lua | 1 | 2576 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @release @AWESOME_VERSION@
-- @classmod wibox.layout.base
---------------------------------------------------------------------------
local xpcall = xpcall
local print = print
loca... | gpl-2.0 |
javierojan/copia | plugins/banhammer.lua | 22 | 5639 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/gamemode/modules/boneanimlib_v2/boneanimlib.lua | 1 | 1348 | if CLIENT then return end
include("sh_boneanimlib.lua")
AddCSLuaFile("cl_boneanimlib.lua")
--AddCSLuaFile("cl_animeditor.lua")
AddCSLuaFile("sh_boneanimlib.lua")
-- These are unreliable. All Lua animations should be set on both the client and server (predicted).
do
local meta = FindMetaTable("Entity")
if not meta t... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/slashcommands/requests/requestCharacterMatch.lua | 1 | 2481 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/naboo/creatures/narglatchMatriarch.lua | 1 | 4771 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Modified-MW-DF/modified-MDF | MWDF Project/Dwarf Fortress/hack/scripts/season-palette.lua | 2 | 7255 | -- Swap color palettes with the changes of the seasons.
--
-- Based on my script for the Rubble addon "Libs/Colors/Swap Palette", modified at
-- Meph's request to support automatic seasonal switching.
--[[
Copyright 2016 Milo Christiansen
This software is provided 'as-is', without any express or implied warra... | mit |
fkaa/iceball | pkg/base/lib_vector.lua | 4 | 10385 | --[[
This file is part of Ice Lua Components.
Ice Lua Components is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
... | gpl-3.0 |
Xeltor/ovale | dist/scripts/index.lua | 1 | 5039 | local __exports = LibStub:NewLibrary("ovale/scripts/index", 80300)
if not __exports then return end
local __ovale_common = LibStub:GetLibrary("ovale/scripts/ovale_common")
local registerCommon = __ovale_common.registerCommon
local __ovale_deathknight_spells = LibStub:GetLibrary("ovale/scripts/ovale_deathknight_spells")... | mit |
chrisdugne/ludum-dare-36 | src/game/models/Cerise.lua | 1 | 2554 | --------------------------------------------------------------------------------
local Cerise = {}
--------------------------------------------------------------------------------
function Cerise:new(options)
local cerise = _.extend({
rotation = 0,
parent = Camera
}, options);
setmetatab... | bsd-3-clause |
TheAnswer/FirstTest | bin/scripts/object/static/naboo/objects.lua | 1 | 14631 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later ve... | lgpl-3.0 |
fkaa/iceball | pkg/gm/chen/pre.lua | 4 | 1341 | do
DIR_CHENMOD = "pkg/gm/chen/"
DIR_PKG_IT = "pkg/gm/chen/"
-- need string.split
dofile("pkg/base/lib_util.lua")
local chen_padding = {
":3", "^_^", "HONK", "MEOW", "HONK", "Yum!",
}
function chenpick(l)
return l[math.floor(math.random()*#l)+1]
end
function chenify_msg(msg)
local l = string.split(msg, " ")
loc... | gpl-3.0 |
devilrap97/alirap97 | plugins/ar-addsudo.lua | 5 | 1522 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ ADD SUDO : اضافه مطور ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
Lunovox/minetest_nibirus_game | mods/add/hardtorch/torch.lua | 1 | 2698 | --[[
Mod HardTorch para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Registro de Tochas padrao
]]
-- Luminosidade da lamparina
local torch_light_source ... | agpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/lok/creatures/elderSnorbalFemale.lua | 1 | 4742 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Lunovox/minetest_nibirus_game | mods/mobs/mob_horse/init.lua | 1 | 6274 |
-- rideable horse
mobs:register_mob("mob_horse:horse", {
type = "animal",
visual = "mesh",
visual_size = {x = 1.20, y = 1.20},
mesh = "mobs_horse.x",
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.25, 0.4},
animation = {
speed_normal = 15,
speed_run = 30,
stand_start = 25,
stand_end = 75,
walk_start = 75,
... | agpl-3.0 |
gabrielPeart/keys | VSCOKeys.lrdevplugin/Client.lua | 11 | 15754 | --[[----------------------------------------------------------------------------
VSCO Keys for Adobe Lightroom
Copyright (C) 2015 Visual Supply Company
Licensed under GNU GPLv2 (or any later version).
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | gpl-2.0 |
miralireza2/xili_bot | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/skills/creatureSkills/npcs/rebel/rebelGeneralAttacks.lua | 1 | 4270 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
OpenMusicKontrollers/chimaerad | app/main.lua | 1 | 6212 | --[[
* Copyright (c) 2015 Hanspeter Portner (dev@open-music-kontrollers.ch)
*
* This is free software: you can redistribute it and/or modify
* it under the terms of the Artistic License 2.0 as published by
* The Perl Foundation.
*
* This source is distributed in the hope that it will be useful,
* but WITHOUT AN... | artistic-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/tatooine/npcs/mosEisley/nalanCheel.lua | 1 | 4571 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/object/creature/npc/droid/objects.lua | 1 | 37085 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later ve... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/items/objects/tools/survey/windTool.lua | 1 | 2244 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
karolhrdina/malamute | bindings/lua_ffi/malamute_ffi.lua | 4 | 10521 | --------------------------------------------------------------------------------
-- THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY -
-- Read the zproject/README.md for information about making permanent changes. -
---------------------------------------------------------------------------... | mpl-2.0 |
TheAnswer/FirstTest | bin/scripts/crafting/objects/draftschematics/entertainer/main.lua | 1 | 2290 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
Wargus/stargus | scripts/terran/unit-terran-barracks.lua | 1 | 2150 | --
-- unit-terran-barracks
--
DefineAnimations("animations-terran-barracks", {
Still = {
"frame 0", "wait 125",
},
Train = {
"frame 7", "wait 4", "frame 8", "wait 2", "frame 7", "wait 2",
"frame 8", "wait 2", "frame 7", "wait 4", "frame 8", "wait 2",
"frame 7", "wait 2",
},
})
DefineConstructi... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/endor/creatures/mantigrueScreecher.lua | 1 | 4730 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/tatooine/creatures/kreetleDeath.lua | 1 | 4646 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/items/objects/clothing/dresses/dress33.lua | 1 | 2281 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/tatooine/creatures/rockmite.lua | 1 | 4553 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
mkwia/jc2atc | scripts/me/server/me.lua | 1 | 6559 | class "me"
function me:__init()
self.star = false
Events:Subscribe("PlayerChat", self, self.PlayerChat)
end
function me:PlayerChat(args)
local words = args.text:split(" ")
local text = args.text
text = text:gsub("^%s*(.-)%s*$", "%1")
mystring, spaces = string.gsub(text, " ", " ")
local wordcount = spaces
if... | mit |
TheAnswer/FirstTest | bin/scripts/creatures/objects/endor/npcs/deathWatchBunker/battleDroidDWB.lua | 1 | 4786 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Andrettin/Wyrmsun | scripts/civilizations/germanic/triggers.lua | 1 | 1639 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
bartvm/Penlight | tests/test-text.lua | 8 | 3556 | local T = require 'pl.text'
local utils = require 'pl.utils'
local Template = T.Template
local asserteq = require 'pl.test'.asserteq
local OrderedMap = require 'pl.OrderedMap'
local t1 = Template [[
while true do
$contents
end
]]
assert(t1:substitute {contents = 'print "hello"'},[[
while true do
... | mit |
Xeltor/ovale | libs/LibBabble-CreatureType-3.0/LibBabble-CreatureType-3.0.lua | 2 | 27193 | --[[
Name: LibBabble-CreatureType-3.0
Revision: $Rev: 162 $
Maintainers: ckknight, nevcairiel, Ackis
Website: http://www.wowace.com/projects/libbabble-creaturetype-3-0/
Dependencies: None
License: MIT
]]
local MAJOR_VERSION = "LibBabble-CreatureType-3.0"
local MINOR_VERSION = 90000 + tonumber(("$Rev: 162 $"):match("%d... | mit |
trentapple/BetterUI | Modules/GuildStore/GuildStore.lua | 2 | 43345 | -------------------------------------------------------------------------------------------------------------------------------------------------------
--
-- Local variable definitions; de-clutters the global namespace!
--
----------------------------------------------------------------------------------------------... | mit |
lidaohang/redis-3.0-annotated | 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... | bsd-3-clause |
Andrettin/Wyrmsun | scripts/grand_strategy/earth_world_map.lua | 1 | 30102 | AddWorldMapResource("grain", 420, 74, true) -- Dairy cattle; Source: "Philip's International School Atlas", 2006, p. 59.
AddWorldMapResource("copper", 454, 133, false) -- Tin deposits; Source: "Ancient Europe 8000 B.C.-A.D. 1000: Encyclopedia of the Barbarian World", 2004, vol. 2, p. 7.
AddWorldMapResource("grain", 454... | gpl-2.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/entities/weapons/weapon_zs_barricadekit/init.lua | 1 | 1794 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function SWEP:Deploy()
gamemode.Call("WeaponDeployed", self.Owner, self)
self.IdleAnimation = CurTime() + self:SequenceDuration()
self:SpawnGhost()
return true
end
function SWEP:OnRemove()
self:RemoveGhost()
end
function SWEP:Holst... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/items/objects/clothing/pants/pants14.lua | 1 | 2286 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/rori/npcs/narmle/narmleEnsign.lua | 1 | 4520 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
weiDDD/WSSParticleSystem | cocos2d/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua | 1 | 1055 |
--------------------------------
-- @module EaseElasticOut
-- @extend EaseElastic
-- @parent_module cc
--------------------------------
-- @overload self, cc.ActionInterval
-- @overload self, cc.ActionInterval, float
-- @function [parent=#EaseElasticOut] create
-- @param self
-- @param #c... | apache-2.0 |
Mizugola/MeltingSagaEngine | engine/Lib/Internal/Canvas.lua | 5 | 30052 | local Class = require("Lib/StdLib/Class");
local contains = require("Lib/StdLib/Contains");
obe.Canvas = {};
function deepcopy(orig)
local orig_type = type(orig)
local copy
if orig_type == 'table' then
copy = {}
for orig_key, orig_value in next, orig, nil do
copy[deepcopy(orig_... | mit |
TheAnswer/FirstTest | bin/scripts/creatures/objects/naboo/npcs/mummer/mummerThug.lua | 1 | 4502 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/gamemode/vgui/dpingmeter.lua | 1 | 1362 | local PANEL = {}
PANEL.IdealPing = 50
PANEL.MaxPing = 400
PANEL.RefreshTime = 1
PANEL.PingBars = 4
PANEL.m_Player = NULL
PANEL.m_Ping = 0
PANEL.NextRefresh = 0
function PANEL:Init()
end
local colPing = Color(255, 255, 60, 255)
function PANEL:Paint()
local ping = self:GetPing()
local pingmul = 1 -... | gpl-2.0 |
Andrettin/Wyrmsun | scripts/languages/germanic/english_loanwords.lua | 1 | 2851 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/gamemode/maps/zs_blastdoors_fixed.lua | 1 | 1494 | hook.Add("InitPostEntityMap", "Adding", function()
local ent2 = ents.Create("prop_dynamic_override")
if ent2:IsValid() then
ent2:SetPos(Vector(-255, 1215+53, 448))
ent2:SetAngles(Angle(90, 270, 0))
ent2:SetKeyValue("solid", "6")
ent2:SetModel(Model("models/props_lab/blastdoor001c.mdl"))
ent2:Set... | gpl-2.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/gamemode/zombieclasses/boss_shade.lua | 1 | 5470 | CLASS.Name = "Shade"
CLASS.TranslationName = "class_shade"
CLASS.Description = "description_shade"
CLASS.Help = "controls_shade"
CLASS.Wave = 0
CLASS.Threshold = 0
CLASS.Unlocked = true
CLASS.Hidden = true
--CLASS.Boss = true
CLASS.NoGibs = true
CLASS.NoFallDamage = true
CLASS.NoFallSlowdown = true
CL... | gpl-2.0 |
weiDDD/WSSParticleSystem | cocos2d/cocos/scripting/lua-bindings/auto/api/BaseLight.lua | 1 | 1575 |
--------------------------------
-- @module BaseLight
-- @extend Node
-- @parent_module cc
--------------------------------
-- light enabled getter and setter.
-- @function [parent=#BaseLight] setEnabled
-- @param self
-- @param #bool enabled
-- @return BaseLight#BaseLight self (return value: cc.BaseLight... | apache-2.0 |
TheAnswer/FirstTest | bin/scripts/crafting/objects/draftschematics/tailor/formalWearIvHighFashion/patternedSlipDress.lua | 1 | 4702 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/entities/entities/status_human_holding/cl_init.lua | 1 | 1419 | include("shared.lua")
ENT.RenderGroup = RENDERGROUP_TRANSLUCENT
ENT.AnimTime = 0.25
function ENT:OnRemove()
local owner = self:GetOwner()
if owner == MySelf then
if self.Rotating then
hook.Remove("CreateMove", "HoldingCreateMove")
end
local wep = owner:GetActiveWeapon()
if wep:IsValid() t... | gpl-2.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/gamemode/zombieclasses/special_willowisp.lua | 1 | 2566 | CLASS.Name = "Will O' Wisp"
CLASS.TranslationName = "class_wilowisp"
CLASS.Description = "description_wilowisp"
CLASS.Health = 10000
CLASS.Wave = 0
CLASS.Threshold = 0
CLASS.Model = Model("models/error.mdl")
CLASS.Speed = 260
CLASS.JumpPower = 0
CLASS.PainSounds = {Sound("npc/scanner/photo1.wav")}
CLASS.D... | gpl-2.0 |
Andrettin/Wyrmsun | scripts/civilizations/teuton/characters_bavarian.lua | 1 | 2017 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
Xeltor/ovale | dist/Spells.lua | 1 | 7113 | local __exports = LibStub:NewLibrary("ovale/Spells", 80300)
if not __exports then return end
local __class = LibStub:GetLibrary("tslib").newClass
local aceEvent = LibStub:GetLibrary("AceEvent-3.0", true)
local tonumber = tonumber
local GetSpellCount = GetSpellCount
local IsSpellInRange = IsSpellInRange
local IsUsableIt... | mit |
Modified-MW-DF/modified-MDF | MWDF Project/Dwarf Fortress/hack/scripts/gui/workflow.lua | 2 | 36542 | -- A GUI front-end for the workflow plugin.
--[====[
gui/workflow
============
Bind to a key (the example config uses Alt-W), and activate with a job selected
in a workshop in :kbd:`q` mode.
.. image:: /docs/images/workflow.png
This script provides a simple interface to constraints managed by `workflow`.
... | mit |
amirfo18/Star-Queen | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
TheAnswer/FirstTest | bin/scripts/skills/creatureSkills/endor/creatures/bordokAttacks.lua | 1 | 6326 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
Andrettin/Wyrmsun | scripts/languages/celtic/armorican.lua | 1 | 1619 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/rori/npcs/garyn/garynPirate.lua | 1 | 4562 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/skills/skills.lua | 1 | 2212 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/entities/entities/prop_thrownbaby/init.lua | 1 | 1846 | AddCSLuaFile("shared.lua")
AddCSLuaFile("cl_init.lua")
include("shared.lua")
ENT.m_IsProjectile = true -- Quick fix to stop people being able to use this as ammo to prop kill.
function ENT:Initialize()
self:SetModel("models/props_c17/doll01.mdl")
self:PhysicsInit(SOLID_VPHYSICS) --self:PhysicsInitBox(Vect... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/sceneobjects/objects/lairs/dathomir/shearMiteLair.lua | 1 | 2528 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/naboo/creatures/nuna.lua | 1 | 4601 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/rori/creatures/ravenousTorton.lua | 1 | 4758 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/object/tangible/lair/bark_mite/objects.lua | 1 | 6042 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later ve... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/yavin4/creatures/kliknikQueenHarvester.lua | 1 | 4810 | --Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
martin-damien/babel | locales/pl_PL.lua | 1 | 1510 | LOCALE = {
formats = {
currency = {
symbol = "zł",
name = "Polski złoty",
short_name = "PLN",
decimal_symbol = ",",
thousand_separator = " ",
fract_digits = 2,
positive_symbol = "",
negative_symbol = "-",
... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.