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 |
|---|---|---|---|---|---|
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/space/chassis/firespray.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 |
russakkyo/GitHub | src/scripts/lua/LuaBridge/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Shadikith.lua | 30 | 1115 | function Shadikith_Charge(Unit, event, miscunit, misc)
print "Shadikith Charge"
Unit:FullCastSpellOnTarget(38461,Unit:GetRandomPlayer())
Unit:SendChatMessage(11, 0, "Charge...")
end
function Shadikith_Sonic_Burst(Unit, event, miscunit, misc)
print "Shadikith Sonic Burst"
Unit:FullCastSpellOnTarget(39052,Unit:GetC... | agpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/installation/mining_organic/base/objects.lua | 3 | 3918 | --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 |
birkett/cuberite | Server/Plugins/APIDump/Classes/BlockEntities.lua | 8 | 18966 | return
{
cBlockEntity =
{
Desc = [[
Block entities are simply blocks in the world that have persistent data, such as the text for a sign
or contents of a chest. All block entities are also saved in the chunk data of the chunk they reside in.
The cBlockEntity class acts as a common ancestor for all the indi... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/shield_generator/shd_incom_mark5.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/tangible/mission/quest_item/tekil_barje_q3_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 |
kidaa/Awakening-Core3 | bin/scripts/object/static/terrain/tatooine/objects.lua | 3 | 26404 | --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 |
devar97/LionBot | libs/dateparser.lua | 114 | 6213 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/weapon/pistol_disrupter_dx2.lua | 2 | 3573 | --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_cygnus_flashboost4.lua | 3 | 2308 | --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 |
houqp/koreader | plugins/statistics.koplugin/main.lua | 1 | 63701 | local BookStatusWidget = require("ui/widget/bookstatuswidget")
local ConfirmBox = require("ui/widget/confirmbox")
local DataStorage = require("datastorage")
local DocSettings = require("docsettings")
local InfoMessage = require("ui/widget/infomessage")
local KeyValuePage = require("ui/widget/keyvaluepage")
local MultiI... | agpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/general/endor_marauder_orphans_cave.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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/bio/bio_component_clothing_field_cover.lua | 3 | 2913 | --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/Middle_Delkfutts_Tower/TextIDs.lua | 2 | 1232 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6544; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6550; -- Obtained: <item>.
GIL_OBTAINED = 6551; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6553; -- Obtained... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/soundobject/serverobjects.lua | 3 | 5967 | --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 |
iqabs/DevProx | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-2.0 |
tjtrabue/dotfiles | link/config/awesome/my-awm/util/lua-path-util.lua | 1 | 1772 | local paths = require("my-awm.paths")
local path_util = {}
--- Local definitions ---
-- Adds a given path string to the end of the package.path global variable.
-- @param path_var The name of the package path variable to use (i.e., package.path)
-- @param path The path to add to the path variable
local function add_... | mit |
kidaa/Awakening-Core3 | bin/scripts/mobile/tatooine/sennex_guard.lua | 1 | 1731 | sennex_guard = Creature:new {
objectName = "@mob/creature_names:sennex_guard",
socialGroup = "sennex",
pvpFaction = "pirate",
faction = "pirate",
level = 32,
chanceHit = 0.4,
damageMin = 310,
damageMax = 330,
baseXp = 3279,
baseHAM = 8700,
baseHAMmax = 10700,
armor = 0,
resists = {0,0,0,30,-1,30,-1,-1,-1},... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/general/poi_tato_corral_pen_16x8_s01.lua | 3 | 2300 | --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/weaponskills/savage_blade.lua | 25 | 1590 | -----------------------------------
-- Savage Blade
-- Sword weapon skill
-- Skill Level: 240
-- Delivers an aerial attack comprised of two hits. Damage varies with TP.
-- In order to obtain Savage Blade, the quest Old Wounds must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget, Thunder... | gpl-3.0 |
eraffxi/darkstar | scripts/commands/addweaponskillpoints.lua | 14 | 1753 | ---------------------------------------------------------------------------------------------------
-- func: addWeaponSkillPoints <slot> <points> {player}
-- desc: Adds weapon skill points to an equipped item.
---------------------------------------------------------------------------------------------------
require("s... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/stopCraftingSession.lua | 4 | 2150 | --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 |
widelands/widelands | data/tribes/buildings/productionsites/barbarians/scouts_hut/init.lua | 1 | 1450 | push_textdomain("tribes")
dirname = path.dirname(__file__)
wl.Descriptions():new_productionsite_type {
name = "barbarians_scouts_hut",
-- TRANSLATORS: This is a building name used in lists of buildings
descname = pgettext("barbarians_building", "Scout’s Hut"),
icon = dirname .. "menu.png",
size = "smal... | gpl-2.0 |
eraffxi/darkstar | scripts/zones/Sealions_Den/mobs/Omega.lua | 2 | 2277 | -----------------------------------
-- Area: Sealions Den
-- MOB: Omega
-----------------------------------
require("scripts/zones/Sealions_Den/MobIDs");
require("scripts/globals/status");
require("scripts/globals/titles");
require("scripts/globals/msg");
-----------------------------------
function onMobInitialize(m... | gpl-3.0 |
hartmark/OpenRA | mods/ra/maps/allies-02/allies02.lua | 4 | 7742 | --[[
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 |
fztcjjl/skynet | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
ViVoTm/sa | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_rebel_general_human_female_02.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/mission/quest_item/warren_controlroom_passkey2.lua | 3 | 2370 | --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/serverobjects.lua | 3 | 9446 | --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 |
ayourtch/lsyncd | examples/limagemagic.lua | 13 | 2743 | ----
-- Lsyncd user-script that creates a "magic" image converter directory.
--
-- This configuration will automatically convert all images that are placed
-- in the directory 'magicdir' all resulting images are placed in the same
-- directory!
--
-- Be sure to mkdir 'magicdir' first.
-----
-- Fileformats: .jpg .g... | gpl-2.0 |
koreader/koreader-base | ffi/freetype_h.lua | 2 | 12109 | local ffi = require("ffi")
ffi.cdef[[
typedef char FT_String;
typedef unsigned char FT_Byte;
typedef short unsigned int FT_UShort;
typedef short int FT_Short;
typedef int FT_Int;
typedef unsigned int FT_UInt;
typedef long int FT_Long;
typedef long unsigned int FT_ULong;
typedef int FT_Error;
typedef long int FT_Pos;
s... | agpl-3.0 |
eraffxi/darkstar | scripts/zones/Nyzul_Isle/mobs/Imperial_Gear.lua | 7 | 1520 | -----------------------------------
-- Area: Nyzul Isle (Path of Darkness)
-- MOB: Imperial Gear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Nyzul_Isle/IDs");
-----------------------------------
function onMobSpawn(mob)
local instance = mob:getInstance();
loca... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/dna/dna_template_falumpaset.lua | 3 | 2272 | --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/droid_interface/ddi_mandal_military_grade_mk2.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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/food/crafted/drink_angerian_fishak_surprise.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/mobile/dressed_commoner_tatooine_aqualish_female_07.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/space/repair/capacitor_repair_kit.lua | 2 | 3187 | --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 |
birkett/cuberite | Server/Plugins/APIDump/Hooks/OnKilled.lua | 38 | 1204 | return
{
HOOK_KILLED =
{
CalledWhen = "A player or a mob died.",
DefaultFnName = "OnKilled",
Desc = [[
This hook is called whenever player or a mob dies. It can be used to change the death message.
]],
Params =
{
{ Name = "Victim", Type = "{{cEntity}}", Notes = "The player or mob that died" },
... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/weapon/poleaxe_vibro.lua | 2 | 3398 | --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/kreetle.lua | 3 | 2144 | --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 |
burck1/webscript-mapreduce | mapreduce.lua | 1 | 8363 | function tablelength(T)
local count = 0
for _ in pairs(T) do count = count + 1 end
return count
end
local mapreduce = {}
mapreduce.setup = function (map_url, mapresults_url, reduce_url, reduceresults_url, result_url)
storage["mapreduce:config:urls:map"] = map_url
storage["mapreduce:config:urls:map... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/intangible/pet/graul_hue.lua | 3 | 2184 | --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/lightsaber/serverobjects.lua | 3 | 3371 | --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/ithorian/ith_gloves_s01.lua | 3 | 2462 | --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_assassin_mission_giver_imp_hum_m_01.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/tangible/deed/pet_deed/bocatt_deed.lua | 1 | 2575 | --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/scout/trap/serverobjects.lua | 3 | 2726 | --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/spells/vital_etude.lua | 2 | 1634 | -----------------------------------------
-- Spell: Vital Etude
-- Static VIT Boost, BRD 70
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/shaupaut/serverobjects.lua | 3 | 2229 | --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/Sea_Serpent_Grotto/TextIDs.lua | 2 | 2624 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6381; -- You cannot obtain the item <item> come back again after sorting your inventory
FULL_INVENTORY_AFTER_TRADE = 6385; -- You cannot obtain the <item>. Try trading again after sorting your inventory
ITEM_OBTAINED = 638... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/pet_deed/carrion_spat_deed.lua | 1 | 2600 | --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/ship/blacksun_light_s01_tier1.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/screenplays/poi/endor_ewok_tree_village_02.lua | 3 | 6430 | --Coded By: NickWill86
EndorEwokTreeVillage02ScreenPlay = ScreenPlay:new {
numberOfActs = 1,
}
registerScreenPlay("EndorEwokTreeVillage02ScreenPlay", true)
function EndorEwokTreeVillage02ScreenPlay:start()
if (isZoneEnabled("endor")) then
self:spawnMobiles()
end
end
function EndorEwokTreeVillage02ScreenPlay:s... | lgpl-3.0 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/model/cbi/asterisk-dialplans.lua | 11 | 3913 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/droid/component/medic_module_1.lua | 2 | 3238 | --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/eopie.lua | 3 | 2136 | --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 |
powerboat9/PCrypt | hash/sha-3.lua | 1 | 2407 | local input, capacity, = ...
local l = 6
local wSize = 2 ^ l
local rounds = 12 + 2 * l
local state = {}
for i = 1, 5 do
state[i] = {}
for j = 1, 5 do
state[i][j] = {}
for k = 1, wSize do
state[i][j][k] = (5 * i + j) * w + k
end
end
end
local function toByte(char)
... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/vehicle/adv_hvy_blaster_power_handler.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/component/weapon/serverobjects.lua | 3 | 11930 | --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/container/quest/crafting_contract/serverobjects.lua | 3 | 2575 | --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/sign/player/house_address_corellia.lua | 3 | 2277 | --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/Lower_Jeuno/npcs/Zauko.lua | 2 | 5253 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Zauko
-- Involved in Quests: Save the Clock Tower, Community Service
-- !pos -3 0 11 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Port_Windurst/npcs/Degong.lua | 2 | 1373 | -----------------------------------
-- Area: Port Windurst
-- NPC: Degong
-- Type: Fishing Synthesis Image Support
-- !pos -178.400 -3.835 60.480 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
r... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/clothing_pants_casual_08.lua | 2 | 3546 | --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/particle/particle_mine_explosion.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 |
widelands/widelands | data/tribes/buildings/productionsites/empire/sheepfarm/init.lua | 1 | 1566 | push_textdomain("tribes")
dirname = path.dirname(__file__)
wl.Descriptions():new_productionsite_type {
name = "empire_sheepfarm",
-- TRANSLATORS: This is a building name used in lists of buildings
descname = pgettext("empire_building", "Sheep Farm"),
icon = dirname .. "menu.png",
size = "big",
buil... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/shield_generator/shd_sfs_custom_polyweb_elite.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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/crafted/droid_interface/serverobjects.lua | 3 | 4247 | --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/particle/particle_test_71.lua | 3 | 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/tangible/lair/stintaril/objects.lua | 3 | 7284 | --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/ship/attachment/wing/lambda_wing_r.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/mobile/gurreck_hue.lua | 3 | 2160 | --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/Xarcabard/npcs/Telepoint.lua | 2 | 1242 | -----------------------------------
-- Area: Xarcabard
-- NPC: Telepoint
-- !pos 150.258 -21.047 -37.256 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Xarcabard/TextIDs");
... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/soundobject/soundobject_hovering.lua | 3 | 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/installation/turret/base/turret_base.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/tangible/lair/whisper_bird/lair_whisper_bird_swamp.lua | 2 | 2340 | --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/armor/component/heavy_armor_layer_electrical.lua | 3 | 2328 | --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/droid/component/unit_delivery_cartridge.lua | 2 | 3208 | --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/yavin/temple_exar_kun.lua | 3 | 2212 | --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 |
hugopl/Iceberg | src/meique.lua | 1 | 1420 | iceberg = Executable:new("iceberg")
if useQt5 then
qt = "Qt5"
qtWidgets = findPackage("Qt5Widgets")
iceberg:use(qtWidgets)
else
qt = "Qt"
end
openGL = findPackage("gl")
qtCore = findPackage(qt.."Core")
qtGui = findPackage(qt.."Gui")
qtGL = findPackage(qt.."OpenGL")
qtNetwork = findPackage(qt.."Network... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/screenplays/cities/endor_smuggler_outpost.lua | 2 | 1917 | EndorSmugglerOutpostScreenPlay = ScreenPlay:new {
numberOfActs = 1,
screenplayName = "EndorSmugglerOutpostScreenPlay"
}
registerScreenPlay("EndorSmugglerOutpostScreenPlay", true)
function EndorSmugglerOutpostScreenPlay:start()
if (isZoneEnabled("endor")) then
self:spawnMobiles()
end
end
function EndorSmuggle... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/creature/yavin4_tybis.lua | 3 | 2200 | --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/tatooine/antenna_tatt_style_1.lua | 3 | 2272 | --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/dungeon/death_watch_bunker/death_watch_ghost.lua | 1 | 1305 | death_watch_ghost = Creature:new {
objectName = "@mob/creature_names:mand_bunker_dthwatch_grey",
socialGroup = "death_watch",
pvpFaction = "death_watch",
faction = "",
level = 152,
chanceHit = 85,
damageMin = 895,
damageMax = 1500,
baseXp = 14314,
baseHAM = 110000,
baseHAMmax = 110000,
armor = 2,
resists =... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/armor/arm_mandal_heavy_composite.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/draft_schematic/chemistry/medpack_disease_action_a.lua | 2 | 3718 | --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 |
koreader/koreader-base | spec/unit/png_spec.lua | 3 | 1685 | local ffi = require("ffi")
require("ffi_wrapper")
local BB = require("ffi/blitbuffer")
local Png = require("ffi/png")
describe("Png module", function()
it("should write bitmap to png file", function()
local re, ok
local fn = os.tmpname()
local w, h = 400, 600
local bb = BB.new(w, h,... | agpl-3.0 |
Death15/SuperSwatchTG | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
TheWorst1/1 | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
widelands/widelands | data/campaigns/bar01.wmf/scripting/texts.lua | 1 | 28280 | -- =========================
-- Some formating functions
-- =========================
function thron(title, text)
return speech("map:chieftain.png", "2F9131", title, text)
end
function khantrukh(title, text)
return speech("map:khantrukh.png", "8080FF", title, text)
end
function boldreth(title, text)
return sp... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_rebel_lieutenant_colonel_rodian_male_01.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/mobile/tatooine_npc/vardias_tyne.lua | 3 | 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/building/poi/tatooine_dervishcamp_small2.lua | 1 | 2248 | --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/soundobject/soundobject_river_large.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 |
gunchleoc/wesnoth | data/ai/micro_ais/cas/ca_fast_combat.lua | 3 | 5499 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local FAU = wesnoth.require "ai/micro_ais/cas/ca_fast_attack_utils.lua"
local LS = wesnoth.require "lua/location_set.lua"
local ca_fast_combat = {}
function ca_fast_combat:evaluation(cfg, data)
data.move_cache = { turn = ... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/forceCurePoison.lua | 3 | 2138 | --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/object/tangible/container/loot/placable_loot_crate_tech_armoire.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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/dungeon/geonosian_mad_bunker/engineering_datapad.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 |
eraffxi/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20m.lua | 2 | 7957 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- Door: Runic Seal
-- !pos 125 -2 20 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missi... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.