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 |
|---|---|---|---|---|---|
JurajVajda/mobs | cow.lua | 1 | 3312 |
-- Cow by Krupnovpavel (additional texture by JurajVajda)
mobs:register_mob("mobs:cow", {
type = "animal",
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 4,
hp_min = 5,
hp_max = 20,
armor = 200,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
visual = "mesh",
mesh = "mobs_cow.x",
textures... | mit |
MikePetullo/packages | net/dynapoint/src/dynapoint.lua | 94 | 6369 | #!/usr/bin/lua
--[[
Copyright (C) 2016 Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
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 v... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/items/plate_of_ic_pilav_+1.lua | 12 | 1956 | -----------------------------------------
-- ID: 5585
-- Item: plate_of_ic_pilav_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 70
-- Strength 5
-- Vitality -2
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 70
-- Ranged ATT % ... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Heavens_Tower/npcs/_6q1.lua | 17 | 1376 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Starway Stairway
-- @pos -10 0.1 30 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Heavens_... | gpl-3.0 |
Coethium/server-minetestforfun | mods/homedecor_modpack/homedecor/handlers/inventory.lua | 10 | 5700 | local S = homedecor.gettext
local default_can_dig = function(pos,player)
local meta = minetest.get_meta(pos)
return meta:get_inventory():is_empty("main")
end
local background = default.gui_bg .. default.gui_bg_img .. default.gui_slots
local default_inventory_formspecs = {
["4"]="size[8,6]".. background ..
"list[c... | unlicense |
UnknownX7/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fe.lua | 12 | 1096 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 100 -34 -49 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
druerridge/the-maestros | examples/Widgets/gui_team_platter.lua | 1 | 7783 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: gui_team_platter.lua
-- brief: team colored platter for all visible units
-- author: Dave Rodgers
--
-- Copyright (C) 2007.
-- Licensed... | gpl-2.0 |
Coethium/server-minetestforfun | mods/WorldEdit/worldedit_limited/init.lua | 26 | 3114 | do return end
do
local MAX_VOLUME = 30 * 30 * 30
local we = worldedit
local volume = we.volume
local safewrap = function(func)
return function(pos1, pos2, ...)
if validbox(pos1, pos2) then
return func(pos1, pos2, ...)
end
return 0, pos1, pos2
end
end
local validbox = function(pos1, pos2)
tpos... | unlicense |
UnknownX7/darkstar | scripts/zones/Windurst_Waters/npcs/Koko_Lihzeh.lua | 14 | 1858 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Koko Lihzeh
-- Involved in Quest: Making the Grade, Riding on the Clouds
-- @zone 238
-- @pos 135 -6 162
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/whale_staff_+1.lua | 41 | 1079 | -----------------------------------------
-- ID: 17534
-- Item: Whale Staff +1
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Southern_San_dOria/npcs/Raminel.lua | 14 | 5118 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raminel
-- Involved in Quests: Riding on the Clouds
-- @pos -56 2 -21 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_Sa... | gpl-3.0 |
Coethium/server-minetestforfun | mods/homedecor_modpack/homedecor_3d_extras/init.lua | 8 | 2497 | minetest.override_item("default:bookshelf", {
drawtype = "mesh",
mesh = "3dbookshelf.obj",
tiles = {
"default_wood.png",
"default_wood.png^3dbookshelf_inside_back.png",
"3dbookshelf_books.png",
},
paramtype = "light",
paramtype2 = "facedir",
})
if minetest.get_modpath("vessels")
and minetest.registered_no... | unlicense |
maikuru23/darkstar | scripts/globals/items/black_curry_bun.lua | 35 | 1347 | -----------------------------------------
-- ID: 5758
-- Item: black_curry_bun
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Intelligence +1
-- Vitality +4
-- Dexterity +2
-- Defense +~16%
require("scripts/globals/status");
-----------------------------------------
--... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm4.lua | 14 | 1344 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm4 (???)
-- Spawns Adamastor
-- @pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[... | gpl-3.0 |
FL1K3R/mtasa_cef_tools | webui/src/WebUIManager.lua | 2 | 6688 | -- ****************************************************************************
-- *
-- * PROJECT: MTA:SA CEF utilities (https://github.com/Jusonex/mtasa_cef_tools)
-- * FILE: webui/src/WebUIManager.lua
-- * PURPOSE: WebUIManager class definition
-- *
-- ***********************************************... | unlicense |
maikuru23/darkstar | scripts/zones/Bibiki_Bay/Zone.lua | 2 | 3596 | -----------------------------------
--
-- Zone: Bibiki_Bay (4)
--
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/zones/Bibiki_Bay/TextI... | gpl-3.0 |
quydau35/dotfile | .conky/clock_rings.lua | 1 | 7175 | --[[
Clock Rings by Linux Mint (2011) reEdited by despot77
This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.
--IMPORTANT: if you... | gpl-2.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/LayerColor.lua | 7 | 2619 |
--------------------------------
-- @module LayerColor
-- @extend Layer,BlendProtocol
-- @parent_module cc
--------------------------------
-- Change width and height in Points.<br>
-- param w The width of layer.<br>
-- param h The Height of layer.<br>
-- since v0.8
-- @function [parent=#LayerColor] changeWidthAndHe... | mit |
UnknownX7/darkstar | scripts/globals/weaponskills/herculean_slash.lua | 18 | 1592 | -----------------------------------
-- Herculean Slash
-- Great Sword weapon skill
-- Skill Level: 290
-- Paralyzes target. Duration of effect varies with TP.
-- Aligned with the Snow Gorget, Thunder Gorget & Breeze Gorget.
-- Aligned with the Snow Belt, Thunder Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: VIT:60%... | gpl-3.0 |
DengSir/tdBattlePetScript | Libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua | 1 | 17010 | --[[-----------------------------------------------------------------------------
TabGroup Container
Container that uses tabs on top to switch between groups.
-------------------------------------------------------------------------------]]
local Type, Version = "TabGroup", 38
local AceGUI = LibStub and LibStub("A... | mit |
UnknownX7/darkstar | scripts/zones/Sealions_Den/npcs/_0w0.lua | 14 | 1998 | -----------------------------------
-- Area: Sealion's Den
-- NPC: Iron Gate
-- @pos 612 132 774 32
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");
require("scripts... | gpl-3.0 |
zhityer/zhityer40 | bot/utils.lua | 239 | 13499 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
http.TIMEOUT = 10
funct... | gpl-2.0 |
bartman/wmii-lua | src/plugins/mpd.lua | 1 | 3112 | --[[
=pod
=head1 NAME
mpd.lua - wmiirc-lua plugin for monitoring and controlling mpd (music player daemon)
=head1 SYNOPSIS
-- in your wmiirc.lua:
mpd = wmii.load_plugin("mpd")
=head1 DESCRIPTION
For binding the mpd controls to the multimedia keys you could add
the following keyhandlers to your wmiirc.lua... | gpl-2.0 |
CuteOne/BadRotations | Rotations/Shaman/Restoration/Blank.lua | 14 | 8995 | local rotationName = "None" -- Change to name of profile listed in options drop down
---------------
--- Toggles ---
---------------
local function createToggles() -- Define custom toggles
-- Rotation Button
local RotationModes = {
[1] = { mode = "Auto", value = 1 , overlay = "Automatic Rotation", tip = "S... | gpl-3.0 |
CuteOne/BadRotations | Rotations/Warrior/Protection/Blank.lua | 14 | 8995 | local rotationName = "None" -- Change to name of profile listed in options drop down
---------------
--- Toggles ---
---------------
local function createToggles() -- Define custom toggles
-- Rotation Button
local RotationModes = {
[1] = { mode = "Auto", value = 1 , overlay = "Automatic Rotation", tip = "S... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Coffer.lua | 4 | 4306 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Treasure Coffer
-- @zone 176
-- @pos 184 18 -107
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Kuftal_Tunnel/Zone.lua | 2 | 1320 | -----------------------------------
--
-- Zone: Kuftal_Tunnel (174)
--
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Kuftal_Tunnel/TextIDs");
------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Bastok_Mines/npcs/Conrad.lua | 14 | 1932 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Conrad
-- Outpost Teleporter NPC
-- @pos 94.457 -0.375 -66.161 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("scripts... | gpl-3.0 |
quydau35/dotfile | .conky/draw_bg.lua | 1 | 1495 | --[[
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
lua_load ~/.scripts/draw_bg.lua
lua_draw_hook_... | gpl-2.0 |
shahabsaf1/testapibot | plugins/inpm.lua | 1114 | 3008 | do
local 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]]
... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/items/pork_cutlet_+1.lua | 12 | 1740 | -----------------------------------------
-- ID: 6395
-- Item: pork_cutlet_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- HP +45
-- STR +8
-- INT -8
-- Fire resistance +21
-- Attack +21% (cap 125)
-- Ranged Attack +21% (cap 125)
-----------------------------------------
require("scri... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Castle_Oztroja/npcs/Treasure_Chest.lua | 14 | 3796 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Treasure Chest
-- Involved In Quest: Scattered into Shadow
-- @pos 7.378 -16.293 -193.590 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Penny.lua | 1 | 1917 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | gpl-2.0 |
cuiqingwei1981/openwrt | feeds/luci/modules/admin-full/luasrc/controller/admin/uci.lua | 85 | 1975 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010 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://w... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Castle_Zvahl_Keep/mobs/Viscount_Morax.lua | 14 | 1040 | -----------------------------------
-- Area:
-- MOB: Viscount_Morax
-----------------------------------
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Bearclaw_Pinnacle/npcs/Wind_Pillar.lua | 4 | 1422 | -----------------------------------
-- Area: Bearclaw Pinnacle
-- NPC: Wind Pillar
-----------------------------------
package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/glob... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/spells/light_carol.lua | 27 | 1535 | -----------------------------------------
-- Spell: Light Carol
-- Increases light resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Spire_of_Mea/bcnms/ancient_flames_backon.lua | 29 | 4265 | -----------------------------------
-- Area: Spire_of_Mea
-- Name: ancient_flames_backon
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/g... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Arrapago_Reef/npcs/qm10.lua | 19 | 2978 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ???
-- Starts: Corsair Af1 ,AF2 ,AF3
-- @pos 457.128 -8.249 60.795 54
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/titles");
require("scripts/zones/Arrapag... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Selbina/npcs/Lucia.lua | 17 | 1180 | -----------------------------------
-- Area: Selbina
-- NPC: Lucia
-- @zone
-- @pos
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Action... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Promyvion-Dem/mobs/Memory_Receptacle.lua | 4 | 6756 | -----------------------------------
-- Area: Promyvion-Dem
-- MOB: Memory Receptacle
-----------------------------------
package.loaded["scripts/zones/Promyvion-Dem/TextIDs"] = nil;
-----------------------------------
require( "scripts/zones/Promyvion-Dem/TextIDs" );
-----------------------------------
... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/VeLugannon_Palace/npcs/Monolith.lua | 4 | 3650 | -----------------------------------
-- Area: VeLugannon Palace
-- NPC: Monolith
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/VeLugannon_Palace/TextIDs");
-----------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Metalworks/npcs/Naji.lua | 17 | 4890 | -----------------------------------
-- Area: Metalworks
-- NPC: Naji
-- Involved in Quests: The doorman (finish), Riding on the Clouds
-- Involved in Mission: Bastok 6-2
-- @pos 64 -14 -4 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
package.loaded["scripts/... | gpl-3.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/ActionFrame.lua | 14 | 2956 |
--------------------------------
-- @module ActionFrame
-- @extend Ref
-- @parent_module ccs
--------------------------------
-- @overload self, float, ccs.ActionFrame
-- @overload self, float
-- @function [parent=#ActionFrame] getAction
-- @param self
-- @param #float duration
-- @param #ccs.Action... | mit |
MaxG87/awesome | lib/awful/init.lua | 11 | 1428 | ---------------------------------------------------------------------------
--- AWesome Functions very UsefuL
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008 Julien Danjou
-- @release @AWESOME_VERSION@
-- @module awful
---------------------------------------------------------------------------... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/dantooine/npcs/dantari/dantariRaiderStrategist.lua | 1 | 4624 | --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/snorbal_hill/objects.lua | 1 | 3372 | --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/endor/creatures/roba.lua | 1 | 4675 | --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 |
Kalvar/neural-style | neural_style.lua | 19 | 11788 | require 'torch'
require 'nn'
require 'image'
require 'optim'
local loadcaffe_wrap = require 'loadcaffe_wrapper'
--------------------------------------------------------------------------------
local cmd = torch.CmdLine()
-- Basic options
cmd:option('-style_image', 'examples/inputs/seated-nude.jpg',
'Styl... | mit |
TheAnswer/FirstTest | bin/scripts/crafting/objects/draftschematics/tailor/fieldWearIvParamilitaryGear/infiltrationSuit.lua | 1 | 4278 | --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 |
yannayl/packages | net/wifidog-ng/files/wifidog-ng.lua | 22 | 1178 | #!/usr/bin/env lua
--[[
Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com>
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.1 of the License, or (at your op... | gpl-2.0 |
giltene/wrk2 | deps/luajit/dynasm/dynasm.lua | 60 | 30989 | ------------------------------------------------------------------------------
-- DynASM. A dynamic assembler for code generation engines.
-- Originally designed and implemented for LuaJIT.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- See below for full copyright notice.
----------------------------... | apache-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/talus/creatures/savageGufDrolg.lua | 1 | 4738 | --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/multlocales/translates/languages/IT.lua | 1 | 11225 | translate = {
-- bones
{"bones:bones", "ossa"},
-- bucket
{"bucket:bucket_empty", "secchio vuoto"},
{"bucket:bucket_water", "secchio con acqua"},
{"bucket:bucket_lava", "secchio con lava"},
-- default
-- craftitems
{"default:stick", "baston... | agpl-3.0 |
Andrettin/Wyrmsun | scripts/world_earth_tiles_romania.lua | 1 | 1577 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/crafting/objects/draftschematics/tailor/casualWearIBasics/standardBoots.lua | 1 | 3877 | --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 |
TheAnswer/FirstTest | bin/scripts/slashcommands/skills/conceal.lua | 1 | 2531 | --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/slashcommands/entertainer/stoplistening.lua | 1 | 2501 | --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/object/tangible/ship/attachment/base/objects.lua | 1 | 3328 | --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/endor/npcs/korga/beguilingKorgaScout.lua | 1 | 4757 | --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 |
sweetbot0/sweetbot | plugin/en-me.lua | 6 | 1496 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ ME BOT : شنو اني ▀▄ ▄▀
▀▄▀... | gpl-3.0 |
fkaa/iceball | pkg/gm/abos/main_client.lua | 4 | 5146 | dofile("pkg/gm/abos/common.lua")
dofile("pkg/gm/abos/genmap.lua")
dofile("pkg/gm/abos/player.lua")
dofile("pkg/base/lib_sdlkey.lua")
client.mk_compat_disable()
client.mk_set_title("A Buttfull Of Skateboards")
render_sec_current = 0
mouse_x, mouse_y = client.screen_get_dims()
mouse_x = mouse_x / 2
mouse_y = mouse_y /... | gpl-3.0 |
bartvm/Penlight | lua/pl/config.lua | 21 | 6527 | --- Reads configuration files into a Lua table.
-- Understands INI files, classic Unix config files, and simple
-- delimited columns of values. See @{06-data.md.Reading_Configuration_Files|the Guide}
--
-- # test.config
-- # Read timeout in seconds
-- read.timeout=10
-- # Write timeout in seconds
-- wri... | mit |
weiDDD/WSSParticleSystem | cocos2d/cocos/scripting/lua-bindings/auto/api/ProgressTo.lua | 1 | 1444 |
--------------------------------
-- @module ProgressTo
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- brief Create and initializes with a duration and a destination percentage.<br>
-- param duration Specify the duration of the ProgressTo action. It's a value in seconds.<br>... | apache-2.0 |
OpenMusicKontrollers/chimaerad | app/dns_sd.lua | 1 | 3469 | --[[
* 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/tusken/tuskenBloodChampion.lua | 1 | 4814 | --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/npcs/missionNpcs/missionSwooperLeader.lua | 1 | 4787 | --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/creatureSkills/npcs/rebel/rebelColonelAttacks.lua | 1 | 5025 | --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 |
amir1213/am | plugins/inpm.lua | 243 | 3007 | do
local 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]]
... | gpl-2.0 |
badboyam/redstorm | plugins/inpm.lua | 243 | 3007 | do
local 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]]
... | gpl-2.0 |
Andrettin/Wyrmsun | scripts/world_earth_tiles_illyria.lua | 1 | 2345 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
RockySeven3161/Unknown | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
shahabsaf1/test | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/crafting/objects/draftschematics/scout/noviceScout/wireMeshTrap.lua | 1 | 3679 | --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 |
TheAnswer/FirstTest | bin/scripts/slashcommands/skills/legSweep.lua | 1 | 2551 | --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 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/entities/entities/prop_arsenalcrate/shared.lua | 1 | 1276 | ENT.Type = "anim"
ENT.m_NoNailUnfreeze = true
ENT.NoNails = true
ENT.CanPackUp = true
ENT.IsBarricadeObject = true
ENT.AlwaysGhostable = false
function ENT:SetObjectHealth(health)
self:SetDTFloat(0, health)
if health <= 0 and not self.Destroyed then
self.Destroyed = true
local ent = ents.Cre... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/object/tangible/wearables/armor/bone/objects.lua | 1 | 16713 | --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 |
wincent/wincent | aspects/nvim/files/.config/nvim/lua/wincent/lsp.lua | 1 | 4546 | local lsp = {}
local on_attach = function()
vim.keymap.set('n', '<Leader>ld', '<cmd>lua vim.diagnostic.open_float()<CR>', { buffer = true, silent = true })
vim.keymap.set('n', '<c-]>', '<cmd>lua vim.lsp.buf.definition()<CR>', { buffer = true, silent = true })
vim.keymap.set('n', 'K', '<cmd>lua vim.lsp.buf.hover(... | unlicense |
TheAnswer/FirstTest | bin/scripts/sceneobjects/objects/lairs/talus/kimaLair.lua | 1 | 2490 | --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/objects/pharmaceutical/disease/staminaDiseaseA.lua | 1 | 2476 | --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/crafting/objects/draftschematics/tailor/fieldWearIiiMartialGear/mercenaryBandolier.lua | 1 | 4585 | --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 |
weiDDD/WSSParticleSystem | cocos2d/cocos/scripting/lua-bindings/auto/api/MotionManager.lua | 1 | 1437 |
--------------------------------
-- @module MotionManager
-- @extend Ref
-- @parent_module cc
--------------------------------
--
-- @function [parent=#MotionManager] appendPredefFactory
-- @param self
-- @param #char name
-- @param #cc.MotionFactory factory
-- @return MotionManager#MotionManager self (... | apache-2.0 |
fischerling/lumail2 | lib/string_utilities.lua | 4 | 3926 |
--
-- Does the specified string end with the given string?
--
_G['string']['ends'] = function (String, End)
return End == '' or string.sub(String, -string.len(End)) == End
end
--
-- String interopolation function, taken from the Lua wiki:
--
-- http://lua-users.org/wiki/StringInterpolation
--
-- Usage:
--
-- p... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/crafting/objects/draftschematics/armorsmith/personalArmorIiiUbese/advancedChitinArmorSegment.lua | 1 | 4546 | --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 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/tatooine/npcs/duneStalker/duneStalkerBrawler.lua | 1 | 4561 | --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/npcs/forceSens/noviceForceMystic.lua | 1 | 4546 | --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/dwarf/units_brising.lua | 1 | 3413 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
Mohammadrezar/telediamond | plugins/supergroup.lua | 2 | 124628 | 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) do
local member_id = v.peer_id
if member_id ~=... | agpl-3.0 |
TheAnswer/FirstTest | bin/scripts/items/objects/clothing/shirts/shirt27.lua | 1 | 2285 | --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 |
Xeltor/ovale | libs/LibInterrupt-1.0/data/legion_dungeon.lua | 1 | 9184 | local InterruptTable = _G.InterruptTable
-- Black Rook Hold
InterruptTable["Ghostly Councilor"] = {
["Dark Mending"] = true
}
InterruptTable["Ghostly Protector"] = {
["Sacrifice Soul"] = true
}
InterruptTable["Lord Etheldrin Ravencrest"] = {
["Spirit Blast"] = true
}
InterruptTable["Risen Arcanist"] = {... | mit |
raininja/afrimesh | package-scripts/debian/uci/Makefile.lua | 5 | 1069 | include ../Makefile.inc
LUA_VERSION=5.1
PREFIX_SEARCH=/usr /usr/local /opt/local
LUA_PLUGINDIR=$(firstword \
$(foreach ldir,$(subst ;, ,$(shell lua -e 'print(package.cpath)')), \
$(if $(findstring lib/lua/,$(ldir)),$(patsubst %/?.so,%,$(ldir))) \
) \
)
# find lua prefix
LUA_PREFIX=$(firstword \
$(foreach prefix,$... | bsd-3-clause |
TheAnswer/FirstTest | bin/scripts/skills/creatureSkills/yavin4/npcs/huttExpeditionAttacks.lua | 1 | 2857 | --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 |
RockySeven3161/Unknown | 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/items/objects/pharmaceutical/stimpacks/stimPackSmallE.lua | 1 | 2410 | --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 |
wfnex/openbras | src/VPP/src/vpp-api/lua/examples/example-classifier.lua | 2 | 1362 | --[[
/*
* Copyright (c) 2016 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | bsd-3-clause |
miralireza2/xili_bot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
TheAnswer/FirstTest | bin/scripts/creatures/objects/npcs/imperial/imperialStormtrooperBombardier.lua | 1 | 4598 | --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 |
chrisdugne/ludum-dare-36 | CBE/cbe_core/vent_core/core.lua | 1 | 16014 | --------------------------------------------------------------------------------
--[[
CBE Component: Vent Core
Core engine for vents.
--]]
--------------------------------------------------------------------------------
local vent_core = {}
----------------------------------------------------------------------------... | bsd-3-clause |
gfax/vale | src/services/util.spec.lua | 1 | 3317 | describe('services/util', function()
local Util
before_each(function()
Util = require 'services/util'
end)
describe('copy', function()
it('should exist', function()
assert(type(Util.copy), 'function')
end)
it('should return copies of tables with keys', function()
local a = { foo ... | lgpl-3.0 |
Konfess/gcode_4 | Assets/Scripts/TeapotStates.lua | 44 | 13650 | --========================================================================
-- ActorManager.lua : Defines all the states for an AI controlled teapot
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - 4t... | lgpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.