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 |
|---|---|---|---|---|---|
mavz42/dotfiles | awesome/freedesktop/freedesktop.lua | 3 | 1808 | -- This is an usage example
-- Modify according to your preferences
-- If you are a Debian user, you can also uncomment the two lines that insert
-- the Debian menu together with the rest of the items (11 and 33).
local awful = require("awful")
local beautiful = require("beautiful")
require("freedesktop")
requir... | gpl-2.0 |
NickeyWoo/MemDB | 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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/space/story_loot/loot_tatooine_series_tinrilo.lua | 3 | 2304 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/booster/bst_koensayr_heavy.lua | 3 | 2292 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/weapon/rifle_sonic_sg82.lua | 2 | 3453 | --Copyright (C) 2010 <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 |
eraffxi/darkstar | scripts/zones/Buburimu_Peninsula/Zone.lua | 2 | 3545 | -----------------------------------
--
-- Zone: Buburimu_Peninsula (118)
--
-----------------------------------
package.loaded[ "scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Peninsula/TextIDs");
require("scripts/globals/icanheararainbow");
require... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/ship/ykl37r_tier3.lua | 3 | 2156 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/building/poi/naboo_mauler_large1.lua | 1 | 2216 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/intangible/pet/squall_hue.lua | 3 | 2188 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/pooja_naberrie_q5_needed.lua | 3 | 2296 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/survey_tool/base/objects.lua | 3 | 3784 | --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 version.
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/collectible/collectible_parts/blue_rug_thread_07.lua | 3 | 2336 | --Copyright (C) 2010 <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 |
nfratin/D2MiniGame | scripts/vscripts/animation_example/heroes/axe/axe.lua | 7 | 3663 | --============ Copyright (c) Valve Corporation, All rights reserved. ==========
--
-- source1import auto-generated animation script
-- local changes will be overwritten if source1import if run again on this asset
--
-- mdl: models\heroes\axe\axe.mdl
--
--=================================================================... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/base/poi_all_lair_rocks_large_fog_red.lua | 2 | 2344 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/general/repairdroidtorso.lua | 3 | 2252 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/terminal/terminal_mission.lua | 3 | 2368 | --Copyright (C) 2010 <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 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/controller/luci_diag/netdiscover_common.lua | 76 | 3146 | --[[
Luci diag - Diagnostics controller module
(c) 2009 Daniel Dickinson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
module("luci.cont... | apache-2.0 |
danronco/nodemcu-firmware | lua_examples/email/read_email_imap.lua | 82 | 4543 | ---
-- Working Example: https://www.youtube.com/watch?v=PDxTR_KJLhc
-- @author Miguel (AllAboutEE.com)
-- @description This example will read the first email in your inbox using IMAP and
-- display it through serial. The email server must provided unecrypted access. The code
-- was tested with an AOL and Time Warner c... | mit |
eraffxi/darkstar | scripts/zones/Bastok-Jeuno_Airship/npcs/Dereck.lua | 2 | 1791 | -----------------------------------
-- Area: Bastok-Jeuno Airship
-- NPC: Dereck
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Bastok-Jeuno_Airship/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok-Jeuno_Airship/TextIDs");
----------------------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/general/tie_bomber_debris_01.lua | 3 | 2268 | --Copyright (C) 2010 <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 |
marcoonroad/talents | spec/sugar/application_spec.lua | 1 | 4545 | require 'busted.runner' ( )
local talents = require 'talents'
local reason = require 'talents.internals.reason'
local example = require 'talents.example' (talents)
describe ("talent application with syntax sugar,", function ( )
it ("should decorate given object", function ( )
local object = example.talen... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/furniture/modern/chest_modern_style_01.lua | 3 | 2715 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_commoner_artisan_bith_male_01.lua | 3 | 2264 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/furniture/all/frn_all_light_lamp_free_s02.lua | 3 | 2728 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/wookiee/wke_skirt_s04.lua | 3 | 2871 | --Copyright (C) 2010 <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 |
DelaramSudo/Taylor | plugins/all.lua | 184 | 4452 | do
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['..user_id..']'
return u... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/corellia/selonian_sentinel.lua | 1 | 2161 | selonian_sentinel = Creature:new {
objectName = "@mob/creature_names:selonian_sentinel",
socialGroup = "selonian",
pvpFaction = "",
faction = "",
level = 9,
chanceHit = 0.27,
damageMin = 70,
damageMax = 75,
baseXp = 0,
baseHAM = 810,
baseHAMmax = 990,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType =... | lgpl-3.0 |
widelands/widelands | data/txts/translators_data.lua | 1 | 13255 | function translators() return {{heading = "العربية (Arabic)",entries = {{members = {"abdXelrhman","m-abudrais"," Omar Anwar","someone",},},},},{heading = "Български (Bulgarian)",entries = {{members = {"А. Ташев","Любомир Василев","Георги Георгиев (Жоро)",},},},},{heading = "Brezhoneg (Breton)",entries = {{members = {"P... | gpl-2.0 |
hayword/tfatf_epgp | libs/LibDeformat-3.0/LibDeformat-3.0.lua | 5 | 9206 | --[[
Name: LibDeformat-3.0
Author(s): ckknight (ckknight@gmail.com)
Website: http://www.wowace.com/projects/libdeformat-3-0/
Description: A library to convert a post-formatted string back to its original arguments given its format string.
License: MIT
]]
local LibDeformat = LibStub:NewLibrary("LibDeformat-3.0", 1)
if... | bsd-3-clause |
widelands/widelands | data/scripting/ui.lua | 1 | 6889 | include "scripting/coroutine.lua"
-- RST
-- .. _ui.lua:
--
-- ui.lua
-- ---------------
--
-- This script contains UI related functions like for moving the mouse or the
-- view or clicking on fields and UI elements.
--
-- .. Note::
-- Do not use any of these functions for multiplayer scenarios or winconditions,
-- ... | gpl-2.0 |
eraffxi/darkstar | scripts/zones/Port_Bastok/npcs/Styi_Palneh.lua | 2 | 4606 | -----------------------------------
-- Area: Port Bastok
-- NPC: Styi Palneh
-- Title Change NPC
-- !pos 28 4 -15 236
-----------------------------------
require("scripts/globals/titles");
local title2 = { dsp.title.NEW_ADVENTURER , dsp.title.BASTOK_WELCOMING_COMMITTEE , dsp.title.BUCKET_FISHER , dsp.title.PURSUER_OF... | gpl-3.0 |
houqp/koreader | frontend/device/key.lua | 18 | 2147 | --[[
an interface for key presses
]]
local Key = {}
function Key:new(key, modifiers)
local o = { key = key, modifiers = modifiers }
-- we're a hash map, too
o[key] = true
for mod, pressed in pairs(modifiers) do
if pressed then
o[mod] = true
end
end
setmetatable(o,... | agpl-3.0 |
eraffxi/darkstar | scripts/zones/Temple_of_Uggalepih/TextIDs.lua | 2 | 2567 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6381 -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6387 -- Obtained: <item>
GIL_OBTAINED = 6388 -- Obtained <number> gil
KEYITEM_OBTAINED = 6390 -... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_commoner_tatooine_rodian_male_04.lua | 3 | 2276 | --Copyright (C) 2010 <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 |
fhaoquan/skynet | test/testsocket.lua | 80 | 1078 | local skynet = require "skynet"
local socket = require "socket"
local mode , id = ...
local function echo(id)
socket.start(id)
while true do
local str = socket.read(id)
if str then
socket.write(id, str)
else
socket.close(id)
return
end
end
end
if mode == "agent" then
id = tonumber(id)
skynet.... | mit |
palmettos/cnLuCI | applications/luci-firewall/luasrc/model/cbi/firewall/forwards.lua | 85 | 3942 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2012 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
htt... | apache-2.0 |
Creedsteam/SuperCreed | plugins/lock_bots.lua | 5 | 3005 | local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot ... | agpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/armor/arm_koensayr_heavy_durasteel.lua | 3 | 2324 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/skeleton/insect_mantis.lua | 3 | 2204 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/crafted/reactor/objects.lua | 3 | 56197 | --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 version.
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/forceCureDisease.lua | 3 | 2141 | --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 |
kidaa/Awakening-Core3 | bin/scripts/mobile/corellia/corsec_special_ops_lieutenant.lua | 1 | 1428 | corsec_special_ops_lieutenant = Creature:new {
objectName = "@mob/creature_names:corsec_lieutenant_aggro",
socialGroup = "corsec",
pvpFaction = "corsec",
faction = "corsec",
level = 160,
chanceHit = 100,
damageMin = 945,
damageMax = 1600,
baseXp = 15170,
baseHAM = 95000,
baseHAMmax = 116000,
armor = 2,
res... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/naboo/naboo_nomad.lua | 1 | 1087 | naboo_nomad = Creature:new {
objectName = "@mob/creature_names:naboo_nomad",
socialGroup = "nomad",
pvpFaction = "",
faction = "naboo",
level = 6,
chanceHit = 0.25,
damageMin = 50,
damageMax = 55,
baseXp = 147,
baseHAM = 180,
baseHAMmax = 220,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType = "",
me... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/items/plate_of_felicifruit_gelatin.lua | 2 | 1072 | -----------------------------------------
-- ID: 5978
-- Item: Plate of Felicifruit Gelatin
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- MP % 5 Cap 100
-- Intelligence +7
-- MP Healing +3
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/veteran_reward/frn_vet_protocol_droid_toy.lua | 3 | 2288 | --Copyright (C) 2010 <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 |
eraffxi/darkstar | scripts/zones/Cloister_of_Tides/npcs/Water_Protocrystal.lua | 2 | 1552 | -----------------------------------
-- Area: Cloister of Tides
-- NPC: Water Protocrystal
-- Involved in Quests: Trial by Water, Trial Size Trial by Water
-- !pos 560 36 560 211
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
-------------------------------------
r... | gpl-3.0 |
MrAnTiFuN/s-group | 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... | agpl-3.0 |
sohrab96/tabchi | 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 |
imitah/lionbotsor | 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 |
devahmed2/King_2001 | 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-2.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/corellia/afarathu_hellion.lua | 1 | 2100 | afarathu_hellion = Creature:new {
objectName = "@mob/creature_names:afarathu_cult_hellion",
socialGroup = "afarathu",
pvpFaction = "afarathu",
faction = "afarathu",
level = 15,
chanceHit = 0.31,
damageMin = 160,
damageMax = 170,
baseXp = 960,
baseHAM = 2400,
baseHAMmax = 3000,
armor = 0,
resists = {0,10,0,... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/striped_fish/lair_striped_fish_underwater.lua | 2 | 2360 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/crafted/reactor/fusion_reactor_mk5.lua | 1 | 3040 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/city_deed/garden_dantooine_med_01_deed.lua | 3 | 2493 | --Copyright (C) 2010 <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 |
dlannan/funLuaJit | byt3d/scripts/utils/directory.lua | 1 | 4569 | ----------------------------------------------------------------
--/**
-- * traverse the directory recursively
-- * @return TRUE if success, otherwise FALSE.
-- */
----------------------------------------------------------------
----------------------------------------------------------------
local dir = { init = 0, ... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/engine/eng_moncal_improved_heavy.lua | 3 | 2316 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/dantooine/dant_jedi_wall_2.lua | 3 | 2260 | --Copyright (C) 2010 <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 |
palmettos/cnLuCI | modules/base/luasrc/i18n.lua | 77 | 3182 | --[[
LuCI - Internationalisation
Description:
A very minimalistic but yet effective internationalisation module
FileId:
$Id$
License:
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 ... | apache-2.0 |
Codinablack/forgottenserver | data/scripts/actions/others/flower_pot.lua | 6 | 6445 | local flowers = {
{itemid = 7655, watered = false, advance = false, msg = "You should plant some seeds first."},
{itemid = 7665, watered = true, advance = false, msg = "You watered your plant.", after = 7673},
{itemid = 7673, watered = false, advance = false, msg = "Your plant doesn't need water."},
{itemid = 7670,... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/mission/bh_naboo_pirate_lieutenant.lua | 1 | 1516 | bh_naboo_pirate_lieutenant = Creature:new {
objectName = "@mob/creature_names:naboo_pirate_lieutenant",
socialGroup = "naboo_pirate",
pvpFaction = "naboo_pirate",
faction = "naboo_pirate",
level = 15,
chanceHit = 0.310000,
damageMin = 160,
damageMax = 170,
baseXp = 960,
baseHAM = 2400,
baseHAMmax = 3000,
ar... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/hair/zabrak/serverobjects.lua | 3 | 4587 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/engine/eng_sfs_imperial_5.lua | 3 | 2288 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_nomad_chief.lua | 3 | 2192 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/mobile/spawn/corellia_starter_creatures.lua | 1 | 3455 | corellia_starter_creatures = {
wanderRadius = 10,
commandLevel = 0,
type = LAIR,
maxSpawnLimit = 512,
lairSpawns = {
{
lairTemplateName = "corellia_gubbur_herd_neutral_none",
spawnLimit = -1,
minDifficulty = 2,
maxDifficulty = 4,
numberToSpawn = 0,
weighting = 15,
size = 25
},
{
lai... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5e5.lua | 2 | 1485 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Cracked Wall
-- Involved In Mission: The Jester Who'd Be King
-- !pos -424.255 -1.909 619.995
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/gackle_bat/lair_gackle_bat_swamp.lua | 2 | 2324 | --Copyright (C) 2010 <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 |
mramir8274/x.ybot | plugins/feed.lua | 49 | 1048 | do
function run(msg, matches)
local fuse = '#DearAdmin😜 we have recived a new feedback just now : #newfeedback \n\nID▶️ : ' .. msg.from.id .. '\n\nName▶ : ' .. msg.from.print_name ..'\n\nusername▶️ :@ ' .. msg.from.username ..'\n\n🅿️♏️ :\n\n\n' .. matches[1]
local fuses = '!printf user#id' .. msg.from.id
lo... | gpl-2.0 |
assassinbo/assassinboy | plugins/id.lua | 11 | 5691 | local function usernameinfo (user)
if user.username then
return '@'..user.username
end
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
loca... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/poi/creature_lair_guardian_rancor.lua | 1 | 2256 | --Copyright (C) 2010 <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 |
eraffxi/darkstar | scripts/globals/msg.lua | 1 | 19537 | ------------------------------------------------------------------------
-- This file holds all global (not zone specific) text references
------------------------------------------------------------------------
dsp = dsp or {}
dsp.msg = dsp.msg or {}
------------------------------------
-- Message Channels
----------... | gpl-3.0 |
hartmark/OpenRA | mods/d2k/maps/atreides-04/atreides04.lua | 4 | 8057 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/rori/rorgungan_scout.lua | 1 | 1113 | rorgungan_scout = Creature:new {
objectName = "@mob/creature_names:rorgungan_scout",
socialGroup = "rorgungan",
pvpFaction = "rorgungan",
faction = "rorgungan",
level = 12,
chanceHit = 0.290000,
damageMin = 140,
damageMax = 150,
baseXp = 514,
baseHAM = 1000,
baseHAMmax = 1200,
armor = 0,
resists = {0,0,0,0... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/droid_interface/ddi_hk_mk4.lua | 3 | 2292 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/vehicle/military/military_e.lua | 3 | 2260 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/general/poi_all_corral_half_64x64_s04.lua | 3 | 2304 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/bio/base_bio_component_clothing_field.lua | 3 | 2312 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/medicine/base/base_medicine.lua | 3 | 2232 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/space_greeter_bestine_bookie.lua | 3 | 2228 | --Copyright (C) 2010 <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 |
eraffxi/darkstar | scripts/globals/items/blackened_toad.lua | 2 | 1146 | -----------------------------------------
-- ID: 4599
-- Item: Blackened Toad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -1
-- Poison Resist 4
-----------------------------------------
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/chemistry/medpack_disease_stamina_c.lua | 2 | 3728 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/installation/battlefield/destructible/bfield_column_rebl_weak.lua | 3 | 2332 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/chemistry/medpack_disease_area_focus_c.lua | 2 | 3747 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/slicing/objects.lua | 3 | 10775 | --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 version.
... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Kuftal_Tunnel/TextIDs.lua | 2 | 1475 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6381; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6387; -- Obtained: <item>
GIL_OBTAINED = 6388; -- Obtained <number> gil
KEYITEM_OBTAINED = 6390; -- Obtain... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/naboo/cantina_naboo.lua | 2 | 2352 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/opee_sea_killer/objects.lua | 3 | 5660 | --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 version.
... | lgpl-3.0 |
judos/neatLogistics | source/prototypes/circuit-signal-requester.lua | 1 | 1079 | require "prototypes.antenna"
data:extend({
{
type = "item",
name = "circuit-signal-requester",
icon = "__neatLogistics__/graphics/icons/signal-receiver.png",
flags = {"goes-to-quickbar"},
subgroup = "circuit-network",
order = "b[combinators]-d[signal-receiver]",
stack_size = 50,
place_resu... | gpl-3.0 |
NezzKryptic/Wire | lua/entities/gmod_wire_expression2/core/serialization.lua | 6 | 15258 | E2Lib.RegisterExtension("serialization", true, "Adds functions to serialize data structures into a string and back again.")
-- GLON output validation
local DEFAULT = {n={},ntypes={},s={},stypes={},size=0}
--[[
wire_expression2_glon = {}
wire_expression2_glon.history = {}
wire_expression2_glon.players = {}
local func... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/armor/bone/armor_bone_s01_gloves.lua | 1 | 5679 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_commoner_tatooine_rodian_male_01.lua | 3 | 2276 | --Copyright (C) 2010 <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 |
papaj0e/packages | net/prosody/files/prosody.cfg.lua | 147 | 7257 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you know... | gpl-2.0 |
xdarklight/packages | net/prosody/files/prosody.cfg.lua | 147 | 7257 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you know... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/kliknik/lair_kliknik_forest.lua | 1 | 2304 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/screenplays/themepark/jabba/themeParkJabba.lua | 1 | 19006 | THEME_PARK_JABBA_BADGE = 105
reelo_missions =
{
{
missionType = "assassinate",
silentTarget = "yes",
primarySpawns =
{
{ npcTemplate = "tusken_raider", planetName = "tatooine", npcName = "Tusken Leader" }
},
secondarySpawns =
{
{ npcTemplate = "tusken_commoner", planetName = "tatooine", np... | lgpl-3.0 |
widelands/widelands | data/tribes/buildings/productionsites/barbarians/micro_brewery/init.lua | 1 | 1668 | push_textdomain("tribes")
dirname = path.dirname(__file__)
wl.Descriptions():new_productionsite_type {
name = "barbarians_micro_brewery",
-- TRANSLATORS: This is a building name used in lists of buildings
descname = pgettext("barbarians_building", "Micro Brewery"),
icon = dirname .. "menu.png",
size = ... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/armor/padded/armor_padded_s01_bracer_l.lua | 1 | 5753 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/intangible/ship/blacksun_medium_s02_pcd.lua | 3 | 2244 | --Copyright (C) 2010 <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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/bren_kingal_q2_needed.lua | 3 | 2284 | --Copyright (C) 2010 <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 |
LuaDist/lmock | src/mock_env.lua | 1 | 3096 |
module( "lmock" , package.seeall )
CMockEnv = {}
function CMockEnv:Ctor( env )
assert( type(env) == "table" )
self.m_env = env
self.m_methods = {}
end
function CMockEnv.new( env )
local obj = {}
setmetatable( obj , { __index = CMockEnv } )
obj:Ctor( env )
return obj
end
local fmtModule = "... | mit |
eraffxi/darkstar | scripts/zones/Riverne-Site_A01/Zone.lua | 2 | 1204 | -----------------------------------
--
-- Zone: Riverne-Site_A01
--
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Riverne-Site_A01/TextIDs");
require("scripts/globals/conquest");
require("scripts/globals/set... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.