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/tangible/lair/voritor_lizard/serverobjects.lua | 3 | 2271 | --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/shirt/shirt_s28.lua | 3 | 3515 | --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/player/city/garden_corellia_sml_04.lua | 3 | 2754 | --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/sgi/wsapi.lua | 12 | 1844 | --[[
LuCI - SGI-Module for WSAPI
Description:
Server Gateway Interface for WSAPI
FileId:
$Id: wsapi.lua 2656 2008-07-23 18:52:12Z Cyrus $
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 ... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_mercenary_commander_nikto_m.lua | 3 | 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/zones/Yhoator_Jungle/Zone.lua | 2 | 2889 | -----------------------------------
--
-- Zone: Yhoator_Jungle (124)
--
-----------------------------------
package.loaded[ "scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Yhoator_Jungle/TextIDs");
require("scripts/zones/Yhoator_Jungle/MobIDs");
require("scripts... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/poi/dantooine_janta_small2.lua | 1 | 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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/armor/objects.lua | 165 | 2016 | --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/container/quest/objects.lua | 165 | 2016 | --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/static/objects.lua | 165 | 2016 | --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 |
fhaoquan/skynet | lualib/sharemap.lua | 78 | 1496 | local stm = require "stm"
local sprotoloader = require "sprotoloader"
local sproto = require "sproto"
local setmetatable = setmetatable
local sharemap = {}
function sharemap.register(protofile)
-- use global slot 0 for type define
sprotoloader.register(protofile, 0)
end
local sprotoobj
local function loadsp()
if ... | mit |
eraffxi/darkstar | scripts/commands/setmentor.lua | 19 | 1135 | ---------------------------------------------------------------------------------------------------
-- func: setmentor <MentorMode> <target>
-- desc: 0 = Not a mentor, 1 = Unlocked but inactive, 2 = Unlocked & flag on.
---------------------------------------------------------------------------------------------------
... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/medicine/medpack_enhance_quickness.lua | 3 | 2385 | --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/corellia/corl_imprv_bannerpole_s01.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/static/structure/naboo/obelisk_naboo_theed_style_1.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/draft_schematic/droid/component/data_storage_module_4.lua | 2 | 3495 | --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/La_Theine_Plateau/npcs/Narvecaint.lua | 2 | 1286 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Narvecaint
-- Involved in Mission: The Rescue Drill
-- !pos -263 22 129 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions")... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_dathomir_nightsister_initiate.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/mobile/naboo_npc/veers.lua | 3 | 2176 | --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/mobskills/gospel_of_the_lost.lua | 2 | 1061 | ---------------------------------------------
-- Gospel_of_the_Lost
--
-- Description: Self-heal (~1000 HP) and erase.
-- Type: Healing
-- Can be dispelled: N/A
-- Utsusemi/Blink absorb: N/A
-- Range: Self
-- Notes: Accompanied by text
-- "Bask in my glory..."
-- "Mine existence...stretches into infinity..."
----------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/hopper/crafting_station_hopper/objects.lua | 3 | 13272 | --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/static/structure/general/cave_stalactite_damprock_s03_small.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/tangible/loot/loot_schematic/foodcart_schematic.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 |
Joker-Developer/Joker-Developer | plugins/super-info.lua | 4 | 8139 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
do
local Arian = 159280034 --تضع ايدي بوتك هنا
local function setrank(msg, name, value) -- setrank function
local hash = nil
if msg.to.type == 'chat' then
hash = 'rank:'..msg.to.id..':variables'
end
... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/loot/items/wearables/ithorian/ith_jacket_s11.lua | 4 | 1192 | ith_jacket_s11 = {
-- Ithorian Officer's Jacket
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/ithorian/ith_jacket_s11.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/ind... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/space_greeter_coronet_shipwright_impatient.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 |
AwfulRanger/TF2Weapons | lua/weapons/tf_weapon_medigun.lua | 1 | 16347 | AddCSLuaFile()
DEFINE_BASECLASS( "tf2weapons_base" )
game.AddParticles( "particles/medicgun_beam.pcf" )
if CLIENT then
local redoverlay = CreateMaterial( "TF2Weapons_MediGun_InvulnOverlay_Red", "Refract", {
[ "$forcerefract" ] = "1",
[ "$refractamount" ] = "0.02",
[ "$model" ] = "1",
[ "$refracttint" ]... | mit |
zj831007/some-mmorpg | 3rd/lua-cjson/lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | mit |
danronco/nodemcu-firmware | app/cjson/lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | mit |
sniperHW/netclient | deps/lua-cjson-2.1.0/lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | gpl-2.0 |
coinapi/coinapi-sdk | ems-gateway-rest-sdk/lua/spec/order_cancel_single_request_spec.lua | 2 | 4179 | --[[
EMS - REST API
This section will provide necessary information about the `CoinAPI EMS REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * [HTTP1.0... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_dathomir_nightsister_outcast.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/draft_schematic/chemistry/antidote_sm_s1.lua | 3 | 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/mobile/townsperson/artisan.lua | 1 | 1073 | artisan = Creature:new {
objectName = "@mob/creature_names:artisan",
generateRandomName =true,
socialGroup = "townsperson",
pvpFaction = "townsperson",
faction = "townsperson",
level = 4,
chanceHit = 0.24,
damageMin = 40,
damageMax = 45,
baseXp = 62,
baseHAM = 113,
baseHAMmax = 138,
armor = 0,
resists = {... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/skeleton/insect_basic.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/commands/deathBlow.lua | 4 | 2120 | --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/building/poi/hq/rebel_sm.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 |
virgo-agent-toolkit/luvi | samples/winsvc.app/main.lua | 6 | 9119 | --[[
Copyright 2015 The Luvit Authors. All Rights Reserved.
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 applicable law or agr... | apache-2.0 |
eraffxi/darkstar | scripts/globals/items/dish_of_spaghetti_tonno_rosso_+1.lua | 2 | 1258 | -----------------------------------------
-- ID: 5624
-- Item: Dish of Spaghetti Tonno Rosso +1
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- Health % 13
-- Health Cap 185
-- Dexterity 2
-- Vitality 3
-- Store TP +6
-- hMP +1
-----------------------------------------
require("scripts/g... | gpl-3.0 |
shentok/chdk-a430 | CHDK/SCRIPTS/examples/input_1.lua | 9 | 2958 | --[[
@title char input
@param f key delay
@default f 200
]]
key_delay = f
output=""
function button()
local x = 0
repeat
wait_click(key_delay)
if is_pressed "remote" then
key = "REMOTE"
x = 1
end
if is_pressed "set" then
key = "SET"
x = 1
end
if is_pressed "erase" then
key = "ERASE"
x =... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/droid/surgical_droid_chassis.lua | 3 | 3272 | --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/staff/skills/serverobjects.lua | 1 | 3102 | --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/mobile/space_chassis_broker_01.lua | 2 | 2271 | --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/clothing/clothing_armor_zam_boots.lua | 2 | 3789 | --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/faction/rebel/crackdown_rebel_liberator.lua | 1 | 1429 | crackdown_rebel_liberator = Creature:new {
objectName = "@mob/creature_names:crackdown_rebel_liberator",
socialGroup = "rebel",
pvpFaction = "rebel",
faction = "rebel",
level = 1,
chanceHit = 0.36,
damageMin = 240,
damageMax = 250,
baseXp = 45,
baseHAM = 7200,
baseHAMmax = 8800,
armor = 0,
resists = {0,0,4... | lgpl-3.0 |
virgo-agent-toolkit/luvi | samples/test.app/utils.lua | 11 | 9569 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
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 applicable law o... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/vehicle/blaster_cannon.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 |
gunchleoc/wesnoth | data/ai/micro_ais/cas/ca_return_guardian.lua | 4 | 1133 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local function get_guardian(cfg)
local filter = H.get_child(cfg, "filter") or { id = cfg.id }
local guardian = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", filter }
}[1]
retu... | gpl-2.0 |
houqp/koreader | frontend/ui/widget/datewidget.lua | 4 | 6712 | local Blitbuffer = require("ffi/blitbuffer")
local ButtonTable = require("ui/widget/buttontable")
local CenterContainer = require("ui/widget/container/centercontainer")
local CloseButton = require("ui/widget/closebutton")
local Device = require("device")
local FrameContainer = require("ui/widget/container/framecontaine... | agpl-3.0 |
isdom/kong | spec/unit/tools/responses_spec.lua | 20 | 4199 | local responses = require "kong.tools.responses"
local constants = require "kong.constants"
require "kong.tools.ngx_stub"
describe("Responses", function()
before_each(function()
mock(ngx, true) -- mock table with stubs.
end)
after_each(function()
ngx.ctx = {}
ngx.header = {}
-- Revert mocked f... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/particle/particle_test_3.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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/terminal/terminal_nym_cave.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 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/instrument/instrument_fanfar.lua | 2 | 3106 | --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/reactor/objects.lua | 3 | 26254 | --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/Rabao/npcs/Porter_Moogle.lua | 7 | 1145 | -----------------------------------
-- Area: Rabao
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 247
-- !pos TODO
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Rabao/TextIDs");
require("scripts/globals/... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/figrindan_q1_needed.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 |
gunchleoc/wesnoth | data/lua/wml-utils.lua | 1 | 6485 |
local helper = wesnoth.require "lua/helper.lua"
local utils = {vwriter = {}}
function utils.trim(s)
-- use (f(a)) to get first argument
return (tostring(s):gsub("^%s*(.-)%s*$", "%1"))
end
function utils.split(s)
return tostring(s or ""):gmatch("[^%s,][^,]*")
end
function utils.check_key(val, key, tag, convert_sp... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/crafting/station/jedi_tool.lua | 3 | 3833 | --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/_6t2.lua | 2 | 3895 | -----------------------------------
-- Area: Lower Jeuno
-- Door: Merchant's House
-- Starts & Finishes Quest: Save My Son
-- Optional Involvement in Quest: Chocobo's Wounds, Path of the Beastmaster
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_criminal_thug_rodian_male_01.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 |
eraffxi/darkstar | scripts/globals/mobskills/trembling.lua | 37 | 1114 | ---------------------------------------------
-- Trembling
--
-- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Physical
-- Wipes Shadows
-- Range: 10' radial
---------------------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/managers/player_manager.lua | 1 | 2760 | --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 versi... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Full_Moon_Fountain/npcs/Moon_Spiral.lua | 2 | 1168 | -----------------------------------
-- Area: Full Moon Fountain
-- NPC: Moon Spiral
-- Involved in Quests: The Moonlit Path
-- !pos -302 9 -260 170
-----------------------------------
package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm"... | gpl-3.0 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/sys/iptparser.lua | 2 | 10750 | --[[
Iptables parser and query library
(c) 2008-2009 Jo-Philipp Wich <xm@leipzig.freifunk.net>
(c) 2008-2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/bile_drenched_quenker.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/creature/npc/droid/crafted/r3_droid_advanced.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/draft_schematic/weapon/component/projectile_rifle_barrel.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 |
kidaa/Awakening-Core3 | bin/scripts/object/building/faction_perk/hq/hq_s02_imp.lua | 2 | 12790 | --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/attachment/weapon/z95_missile.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/corellian_butterfly.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 |
houqp/koreader | frontend/version.lua | 1 | 1881 | --[[--
This module helps with retrieving version information.
]]
local Version = {}
--- Returns current KOReader git-rev.
-- @treturn string full KOReader git-rev such as `v2015.11-982-g704d4238`
function Version:getCurrentRevision()
if not self.rev then
local rev_file = io.open("git-rev", "r")
if... | agpl-3.0 |
hayword/tfatf_epgp | libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua | 59 | 2966 | --[[-----------------------------------------------------------------------------
InlineGroup Container
Simple container widget that creates a visible "box" with an optional title.
-------------------------------------------------------------------------------]]
local Type, Version = "InlineGroup", 21
local AceGUI = Li... | bsd-3-clause |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/quest/force_sensitive/camp_frequency_datapad.lua | 1 | 2320 | --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/quest/force_sensitive/theater_datapad.lua | 1 | 2333 | --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 version.
... | lgpl-3.0 |
MrAnTiFuN/s-group | plugins/supergroup.lua | 2 | 95094 | 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 type(result) == 'boolean' then
print('This is a old message!')
return reply_msg(msg.id, '[Not supported] This is a old message!', ok_cb, false)
end
... | agpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/applyDisease.lua | 4 | 2129 | --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/ship/crafted/capacitor/capacitor_mk5.lua | 1 | 3124 | --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 | lualib/snax/loginserver.lua | 42 | 5057 | local skynet = require "skynet"
require "skynet.manager"
local socket = require "socket"
local crypt = require "crypt"
local table = table
local string = string
local assert = assert
--[[
Protocol:
line (\n) based text protocol
1. Server->Client : base64(8bytes random challenge)
2. Client->Server : base64(8bytes... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/sign/base/serverobjects.lua | 3 | 2096 | --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/abilities/curing_waltz_iii.lua | 2 | 2542 | -----------------------------------
-- Ability: Curing Waltz III
-- Heals HP to target player.
-- Obtained: Dancer Level 45
-- TP Required: 50%
-- Recast Time: 00:10
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/msg");
--------------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/dungeon/death_watch_bunker/death_watch_bloodguard.lua | 1 | 1165 | death_watch_bloodguard = Creature:new {
objectName = "@mob/creature_names:mand_bunker_dthwatch_red",
socialGroup = "death_watch",
pvpFaction = "death_watch",
faction = "",
level = 121,
chanceHit = 40,
damageMin = 745,
damageMax = 1200,
baseXp = 11390,
baseHAM = 50000,
baseHAMmax = 50000,
armor = 2,
resists... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/items/yellow_curry_bun.lua | 2 | 1947 | -----------------------------------------
-- ID: 5757
-- Item: yellow_curry_bun
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- TODO: Group effects
-- Health Points 20
-- Strength 5
-- Agility 2
-- Intelligence -4
-- Attack 20% (caps @ 75)
-- Ranged Attack 20% (caps @ 75)
-- Resist Sle... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Lufaise_Meadows/TextIDs.lua | 2 | 1259 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6381; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6387; -- Obtained: <item>.
GIL_OBTAINED = 6388; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/player/city/cityhall_tatooine.lua | 2 | 3339 | --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/uberkuchen.lua | 2 | 1358 | -----------------------------------------
-- ID: 5615
-- Item: uberkuchen
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 10
-- MP % 3 (cap 15)
-- Intelligence 3
-- HP Recovered While Healing 2
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/general/skeleton_bith_head.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/tangible/skill_buff/skill_buff_melee_defense.lua | 2 | 2544 | --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/Crawlers_Nest/Zone.lua | 2 | 1058 | -----------------------------------
--
-- Zone: Crawlers_Nest (197)
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil
-----------------------------------
require("scripts/zones/Crawlers_Nest/TextIDs")
require("scripts/zones/Crawlers_Nest/MobIDs")
require("scripts/globals... | gpl-3.0 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/nixioutil.lua | 2 | 5844 | --[[
nixio - Linux I/O library for lua
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/loot/groups/npc/desert_swooper_common.lua | 4 | 1105 | desert_swooper_common = {
description = "",
minimumLevel = 0,
maximumLevel = 0,
lootItems = {
{itemTemplate = "skill_buff_carbine_accuracy", weight = 714286},
{itemTemplate = "skill_buff_carbine_speed", weight = 714286},
{itemTemplate = "skill_buff_heavy_weapon_accuracy", weight = 714286},
{itemTemplate = "... | lgpl-3.0 |
imitah/lionbotsor | plugins/msg-checks.lua | 26 | 13860 | --Begin msg_checks.lua By @SoLiD
local function pre_process(msg)
local data = load_data(_config.moderation.data)
local chat = msg.to.id
local user = msg.from.id
local is_channel = msg.to.type == "channel"
local is_chat = msg.to.type == "chat"
local auto_leave = 'auto_leave_bot'
local hash = "gp_lang:"..chat
local lang ... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_lost_aqualish_marksman_female_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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/base/earthmound_light.lua | 2 | 2280 | --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/npcs/_4w3.lua | 2 | 2393 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Mythril Beastcoin Door
-- @zone 176
-- !pos 40 8.6 20.012
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/armor/arm_mandal_double_insulated_i7.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/group/base/group_default.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/structure/generic_house_player_medium.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 |
coinapi/coinapi-sdk | ems-cloud-mgmt-sdk/lua/openapiclient/model/position_data_inner.lua | 2 | 4065 | --[[
EMS - REST API
This section will provide necessary information about the `CoinAPI EMS REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * [HTTP1.0... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/space_imperial_tier4_corellia_nin_gursawe.lua | 3 | 2280 | --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/chemistry/biologic_effect_controller.lua | 3 | 2810 | --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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.