repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
Kthulupwns/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#2.lua | 12 | 1252 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#2
-- @pos -328 -12 -33 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/g... | gpl-3.0 |
jlopenwrtluci/luci | modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua | 78 | 2244 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
require("luci.sys.zoneinfo")
require("luci.tools.webadmin")
require("luci.util")
m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device li... | apache-2.0 |
risteaandrei/price_checker | lib/civetweb/test/html_esc.lua | 10 | 4611 | htmlEscape = { "☺", "☻", "♥", "♦", "♣", "♠", "•", -- ASCII 1-7 (symbols for control characters, see code page 437)
"◘", "○", "◙", "♂", "♀", "♪", "♫", "☼", -- ASCII 8-15
"►", "◄", "... | lgpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Apollyon/mobs/Apollyon_Scavenger.lua | 17 | 1403 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Act... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Larkin_CA.lua | 38 | 1030 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Larkin, C.A.
-- Type: Campaign Arbiter
-- @pos 50.217 -1.769 51.095 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Fores... | gpl-3.0 |
AGTMADCAT/naev | dat/ai/tpl/scout.lua | 5 | 2367 | include("dat/ai/include/basic.lua")
-- Variables
planet_dist = 1500 -- distance to keep from planets
enemy_dist = 800 -- distance to keep from enemies
-- Required control rate
control_rate = 2
-- Required "control" function
function control ()
task = ai.taskname()
if task == "none" or task == "idle" then
... | gpl-3.0 |
jlopenwrtluci/luci | modules/luci-base/luasrc/ltn12.lua | 84 | 8954 | --[[
LuaSocket 2.0.2 license
Copyright � 2004-2007 Diego Nehab
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, me... | apache-2.0 |
aa65535/luci | modules/luci-base/luasrc/ltn12.lua | 84 | 8954 | --[[
LuaSocket 2.0.2 license
Copyright � 2004-2007 Diego Nehab
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, me... | apache-2.0 |
AttacqueSuperior/Engine | mods/ra/maps/ant-03/ant-03-AI.lua | 2 | 3220 | --[[
Copyright 2007-2021 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 |
Kthulupwns/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Olden_Treant.lua | 12 | 1281 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Olden Treant
-- Note: Place holder Emergent Elm
-----------------------------------
require("/scripts/zones/Bhaflau_Thickets/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeat... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e7.lua | 10 | 1388 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Left) - Mea
-- @pos 269 -81 -39 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("/scripts/globals/missions");
requi... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Bibiki_Bay/npcs/Mep_Nhapopoluko.lua | 19 | 1157 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Mep Nhapopoluko
-- Type: Guild Merchant NPC (Fishing Guild)
-- @pos 464.350 -6 752.731 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
dpino/snabb | lib/ljsyscall/syscall/linux/errors.lua | 24 | 5242 | -- Linux error messages
return {
PERM = "Operation not permitted",
NOENT = "No such file or directory",
SRCH = "No such process",
INTR = "Interrupted system call",
IO = "Input/output error",
NXIO = "No such device or address",
["2BIG"] = "Argument list too long",
NOEXEC = "Exec format error",
BADF = ... | apache-2.0 |
Kthulupwns/darkstar | scripts/zones/Carpenters_Landing/npcs/Beugungel.lua | 19 | 1189 | -----------------------------------
-- Area: Carpenters' Landing
-- NPC: Beugungel
-- Type: Guild Merchant NPC (Woodworking Guild)
-- @pos -333.729, -5.512, 475.647 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
kayru/tundra | examples/fancyvs/tundra.lua | 7 | 2490 |
Build {
Units = function ()
local lib = StaticLibrary {
Name = "blahlib",
Sources = {
"blah.hpp", -- including headers here makes them appear in generated solutions
"blah.cpp",
},
-- Place in MSVC solution folder.
IdeGenerationHints = {
Msvc = {
... | gpl-3.0 |
ZeroNoFun/The-Aperture | lua/aperture/sounds/portal_turret_different_sounds.lua | 2 | 1421 | --[[
CATAPULT SOUNDS
]]
AddCSLuaFile()
APERTURESCIENCE.TurretDifferent =
{
channel = CHAN_VOICE,
name = "GASL.TurretDifferent",
level = 60,
sound = { "npc/turret/turretstuckintube01.wav"
, "npc/turret/turretstuckintube02.wav"
, "npc/turret/turretstuckintube03.wav"
, "npc/turret/turretstuckintube04.wav"
, ... | mit |
dpino/snabb | src/lib/checksum.lua | 9 | 8216 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
-- See README.checksum.md for API.
require("lib.checksum_h")
local lib = require("core.lib")
local ffi = require("ffi")
local C = ffi.C
local band, lshift = bit.band, bit.lshift
-- Select ipsum(pointer, len, in... | apache-2.0 |
Kthulupwns/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Disserond_RK.lua | 38 | 1067 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Disserond, R.K.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos 76.178 -60.763 -48.775
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]... | gpl-3.0 |
Kthulupwns/darkstar | scripts/globals/spells/bluemagic/wild_carrot.lua | 3 | 1402 | -----------------------------------------
-- Spell: Wild Carrot
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glo... | gpl-3.0 |
Kthulupwns/darkstar | scripts/globals/mobskills/Cimicine_Discharge.lua | 6 | 1064 | ---------------------------------------------------
-- Cimicine Discharge
-- Reduces the attack speed of enemies within range.
-- Duration: Variable, with max of 3 min
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts... | gpl-3.0 |
Kthulupwns/darkstar | scripts/globals/items/stick_of_pepperoni.lua | 35 | 1595 | -----------------------------------------
-- ID: 5660
-- Item: stick_of_pepperoni
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 3 (assuming 3% from testing, no known cap)
-- Strength 3
-- Intelligence -1
-- Attack % 60 (assuming 60%, cap 30)
--------------------------------... | gpl-3.0 |
AGTMADCAT/naev | dat/missions/baron/baron_baron.lua | 7 | 12984 | --[[
-- This is the first mission in the crazy baron string.
--]]
-- localization stuff, translators would work here
lang = naev.lang()
if lang == "es" then
else -- default english
sysname1 = "Darkstone"
sysname2 = "Ingot"
planetname = "Varia"
title = {}
text = {}
osd_msg = {}
tit... | gpl-3.0 |
kuoruan/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua | 68 | 3415 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys.iptparser")
ip = luci.sys.iptparser.IptParser()
chains = { }
targets = { }
for i, rule in ipairs( ip:find() ) do
if rule.chain and rule.target then
chains[rule.chain] ... | apache-2.0 |
kuoruan/luci | modules/luci-base/luasrc/util.lua | 3 | 17488 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local io = require "io"
local math = require "math"
local table = require "table"
local debug = require "debug"
local ldebug = require "luci.debug"
local string = require "string"
local coroutine = require "coro... | apache-2.0 |
dreamsxin/otclient | modules/gamelib/const.lua | 2 | 6436 | -- @docconsts @{
FloorHigher = 0
FloorLower = 15
SkullNone = 0
SkullYellow = 1
SkullGreen = 2
SkullWhite = 3
SkullRed = 4
SkullBlack = 5
SkullOrange = 6
ShieldNone = 0
ShieldWhiteYellow = 1
ShieldWhiteBlue = 2
ShieldBlue = 3
ShieldYellow = 4
ShieldBlueSharedExp = 5
ShieldYellowSharedExp = 6
ShieldBlueNoSharedExpBlin... | mit |
mightymadTV/gmod_deathmatch | teamdeathmatch/entities/weapons/weapon_base/cl_init.lua | 3 | 6325 |
include('shared.lua')
SWEP.PrintName = "Scripted Weapon" -- 'Nice' Weapon name (Shown on HUD)
SWEP.Slot = 0 -- Slot in the weapon selection menu
SWEP.SlotPos = 10 -- Position in the slot
SWEP.DrawAmmo = true -- Should draw the default HL2 ammo counter
SWEP.DrawCrosshair = true -- Should... | gpl-2.0 |
Kthulupwns/darkstar | scripts/globals/items/cup_of_chocomilk.lua | 35 | 1163 | -----------------------------------------
-- ID: 4498
-- Item: cup_of_chocomilk
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic Regen While Healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Gusgen_Mines/TextIDs.lua | 4 | 1706 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6382; -- Obtained: <item>.
GIL_OBTAINED = 6383; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6385; -- Obtained... | gpl-3.0 |
amenophis1er/prosody-modules | mod_muc_log/mod_muc_log.lua | 32 | 4843 | -- Copyright (C) 2009 Thilo Cestonaro
-- Copyright (C) 2009 Waqas Hussain
-- Copyright (C) 2009-2013 Matthew Wild
-- Copyright (C) 2013 Kim Alvefur
-- Copyright (C) 2013 Marco Cirillo
local hosts = prosody.hosts;
local tostring = tostring;
local split_jid = require "util.jid".split;
local datamanager = require"core.st... | mit |
Kthulupwns/darkstar | scripts/zones/Windurst_Waters/npcs/Akkeke.lua | 36 | 1418 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Akkeke
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 135 -6 165
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
ikoryakovskiy/grl | addons/rbdl/cfg/leo_vc/leo_fb_sl_rx28.lua | 3 | 19047 | --[[
-- LEO rigid body model
-- Based on leoconfig.xml by Erik Schuitema
--
-- Note:
-- Erik's XML allows child nodes to be connected at
-- a random anchor, instead of just {0, 0, 0}. To move the
-- anchor to {0, 0, 0}, it has to be subtracted from the
-- com and the children's joint_frame.
--
-- Author... | lgpl-3.0 |
Omar-Real/RealBot | plugins/supergroup.lua | 1 | 72644 | --Begin supergrpup.lua
--Check members #Add supergroup
local function check_member_super(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
if success == 0 then
send_large_msg(receiver, "Promote me to admin first!")
end
for k,v in pairs(result... | gpl-2.0 |
Kthulupwns/darkstar | scripts/zones/Selbina/npcs/Mendoline.lua | 17 | 1184 | -----------------------------------
-- Area: Selbina
-- NPC: Mendoline
-- Guild Merchant NPC: Fishing Guild
-- @pos -13.603 -7.287 10.916 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Ordelles_Caves/npcs/Grounds_Tome.lua | 34 | 1140 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Windurst_Woods/TextIDs.lua | 3 | 5431 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6541; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>
GIL_OBTAINED = 6542; -- O... | gpl-3.0 |
mlody1039/ModernOts | data/npc/scripts/Xodet.lua | 1 | 12994 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCre... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/HomePoint#1.lua | 12 | 1264 | -----------------------------------
-- Area: Windurst_Waters_[S]
-- NPC: HomePoint#1
-- @pos -32 -5 131 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters_[S]/TextIDs");
requir... | gpl-3.0 |
mohammadclashclash/sinhfg | plugins/TIME.lua | 120 | 2804 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
LuaDist/lzmq | src/lua/lzmq/ffi.lua | 2 | 28511 | local LZMQ_VERSION = "0.4.0"
local lua_version_t
local function lua_version()
if not lua_version_t then
local version = rawget(_G,"_VERSION")
local maj,min = version:match("^Lua (%d+)%.(%d+)$")
if maj then lua_version_t = {tonumber(maj),tonumber(min)}
elseif not math.mod then... | mit |
amenophis1er/prosody-modules | mod_openid/mod_openid.lua | 32 | 15176 | local usermanager = require "core.usermanager"
local httpserver = require "net.httpserver"
local jidutil = require "util.jid"
local hmac = require "hmac"
local base64 = require "util.encodings".base64
local humane = require "util.serialization".serialize
-- Configuration
local base = "openid"
local openidns = "http:... | mit |
Eyedema/taytay | libs/mimetype.lua | 6 | 2586 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom+xml"] = "atom",
... | gpl-2.0 |
Kthulupwns/darkstar | scripts/globals/abilities/pets/fire_iv.lua | 5 | 1159 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
------------------------------------------... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Sacrarium/npcs/_0s8.lua | 17 | 1694 | -----------------------------------
-- NPC: _0s8 (Wooden Gate)
-- Area: Sacrarium
-- Involved in Mission: Secrets of Worship
-- @pos 45.500 -1.500 10.000 28
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
-----------------------------------
-- ... | gpl-3.0 |
CadishShank/Ardour-5.0.2.0-Cad | scripts/_osc_hook_example.lua | 3 | 1370 | ardour {
["type"] = "EditorHook",
name = "OSC Callback Example",
author = "Ardour Lua Task Force",
description = "Send OSC messages",
}
function action_params ()
return
{
["uri"] = { title = "OSC URI ", default = "osc.udp://localhost:7890"},
}
end
function signals ()
s = LuaSignal.Set()
s:a... | gpl-2.0 |
daid/EmptyEpsilon | scripts/tutorial/06_relay.lua | 1 | 2053 | -- Name: Relay
-- Description: [Station Tutorial]
--- -------------------
--- -Goes over relay station.
---
--- [Station Info]
--- -------------------
--- Sector Map:
--- -The Relay station can view a map of the sector, including space hazards and ships within short-range scanner range (5U). It can also see the short-... | gpl-2.0 |
punisherbot/punisherbot | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
dreamsxin/otclient | modules/client_stats/stats.lua | 7 | 4012 | UUID = nil
HOST = 'otclient.herokuapp.com'
PORT = 80
FIRST_REPORT_DELAY = 15
REPORT_DELAY = 60
sendReportEvent = nil
firstReportEvent = nil
function initUUID()
UUID = g_settings.getString('report-uuid')
if not UUID or #UUID ~= 36 then
UUID = g_crypt.genUUID()
g_settings.set('report-uuid', UUID)
end
end
... | mit |
xvaara/kong | spec/integration/admin_api/plugins_routes_spec.lua | 1 | 1526 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
describe("Admin API", function()
setup(function()
spec_helper.prepare_db()
spec_helper.insert_fixtures {
api = {
{request_host = "test.com", upstream_url = "http://m... | apache-2.0 |
Kami/luvit-service-registry-client | lib/client.lua | 1 | 2735 | --[[
Copyright Tomaz Muraus
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 agreed to in writing, software
distr... | apache-2.0 |
kinzhang/cocos2d-js-v3.2 | frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TransitionFadeTR.lua | 10 | 1043 |
--------------------------------
-- @module TransitionFadeTR
-- @extend TransitionScene,TransitionEaseScene
-- @parent_module cc
--------------------------------
--
-- @function [parent=#TransitionFadeTR] easeActionWithAction
-- @param self
-- @param #cc.ActionInterval action
-- @return ActionInterval#ActionInterva... | mit |
Kthulupwns/darkstar | scripts/zones/Temenos/mobs/Earth_Elemental.lua | 17 | 1708 | -----------------------------------
-- Area: Temenos E T
-- NPC: Earth_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------------... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Port_San_dOria/npcs/Brifalien.lua | 19 | 1772 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Brifalien
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- @pos -20 -4 -74
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Kthulupwns/darkstar | scripts/globals/mobskills/Gate_of_Tartarus.lua | 6 | 1071 | ---------------------------------------------
-- Gate of Tartarus
--
-- Description: Lowers target's attack. Additional effect: Refresh
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
requir... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/East_Sarutabaruta/npcs/Taby_Canatahey.lua | 34 | 1067 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Taby Canatahey
-- @pos -119.119 -4.106 -524.347 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Windurst_Woods/npcs/Pew_Sahbaraef.lua | 38 | 1038 | ----------------------------------
-- Area: Windurst Woods
-- NPC: Pew Sahbaraef
-- Type: Item Deliverer
-- @zone: 241
-- @pos 61.899 -2.5 -112.956
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/TextIDs");
--------------... | gpl-3.0 |
Malyonsus/sanieui | datatext/xprep.lua | 1 | 2709 | local lib = SanieUI.lib
local textString
local textColor
--[[---------------------------
Datatext Constants
--]]----------------------------
-- Set name
local name = "xprep"
-- Set update frequency in seconds. Set to nil for event-only updating.
local updateFrequency = nil
-- Font
local font = SanieUI.font
-- Font siz... | mit |
rohanp/Algorithm-Implementations | Heap_Sort/Lua/Yonaba/heapsort_test.lua | 27 | 1353 | -- Tests for heapsort.lua
local heapsort = require 'heapsort'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local stat... | mit |
Kthulupwns/darkstar | scripts/globals/items/smoldering_salisbury_steak.lua | 36 | 1686 | -----------------------------------------
-- ID: 5924
-- Item: Smoldering Salisbury Steak
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- HP +30
-- Strength +7
-- Intelligence -5
-- Attack % 20 Cap 160
-- Ranged Attack %20 Cap 160
-- Dragon Killer +5
-------------------------------------... | gpl-3.0 |
Mleaf/mleaf_luci | applications/luci-radvd/luasrc/model/cbi/radvd/interface.lua | 78 | 7996 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | apache-2.0 |
Kthulupwns/darkstar | scripts/zones/Outer_Horutoto_Ruins/Zone.lua | 28 | 1816 | -----------------------------------
--
-- Zone: Outer_Horutoto_Ruins (194)
--
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zone... | gpl-3.0 |
Velkon/DarkRP | gamemode/modules/f1menu/cl_htmlcontrols.lua | 12 | 3854 | surface.CreateFont("F1AddressBar", {
size = 14,
weight = 400,
antialias = true,
shadow = false,
font = "Coolvetica"})
local PANEL = {}
-- Remove any Javascript warnings
function PANEL:ConsoleMessage() end
function PANEL:Init()
self.BaseClass.Init(self)
self.history = ... | mit |
Kthulupwns/darkstar | scripts/zones/Tavnazian_Safehold/npcs/_0qa.lua | 17 | 2001 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: walnut door
-- Involved in mission 2-4
-- @pos 111 -41 41 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Port_Bastok/npcs/Ravorara.lua | 38 | 1028 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ravorara
-- Type: Quest Giver
-- @zone: 236
-- @pos -151.062 -7 -7.243
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
---------------------... | gpl-3.0 |
jamesbrink/sysdig | userspace/sysdig/chisels/v_kubernetes_services.lua | 4 | 3070 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
Kthulupwns/darkstar | scripts/globals/items/serving_of_yellow_curry.lua | 35 | 2067 | -----------------------------------------
-- ID: 4517
-- Item: serving_of_yellow_curry
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Health Points 20
-- Strength 5
-- Agility 2
-- Intelligence -4
-- HP Recovered While Healing 2
-- MP Recovered While Healing 1
-- Attack 20% (... | gpl-3.0 |
aa65535/luci | protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua | 11 | 2780 | -- Copyright 2014 Nikos Mavrogiannopoulos <nmav@gnutls.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local server, username, password, cert, ca
local oc_cert_file, oc_key_file, oc_ca_file
local ifc = net:get_interface():name()
oc_cert_file = "/etc/openconnect/user-cert-"... | apache-2.0 |
kuoruan/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua | 53 | 2738 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("Network Plugin Configuration"),
translate(
"The network plugin provides network based communication between " ..
"different collectd instances. Coll... | apache-2.0 |
Kthulupwns/darkstar | scripts/zones/RuLude_Gardens/npcs/Marshal.lua | 38 | 1032 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Marshal
-- Type: Marshal
-- @zone: 243
-- @pos 41.143 -0.998 -26.566
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------... | gpl-3.0 |
jamesbrink/sysdig | userspace/sysdig/chisels/v_containers.lua | 3 | 4579 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
kane-thornwyrd/life-in-the-moods | config/Reika/CondensedOres_example.lua | 1 | 1958 | {
type = "copper"
inherit = "base"
name = "Copper Ore"
blocks = {
"Forestry:ore:2"
"ElectriCraft:ore:0"
"TConstruct:ore:5"
}
heightRule = {
minHeight = 0
maxHeight = 32
variation = "linear" //example comment
}
veinFrequency = {
veinsPerChunk = 12
chunkGenChance = 1
}
veinSize = 8 --another exa... | gpl-3.0 |
FPtje/DarkRP | gamemode/modules/fadmin/fadmin/playeractions/chatmute/sv_init.lua | 10 | 2668 | local function MuteChat(ply, cmd, args)
if not args[1] then return false end
local targets = FAdmin.FindPlayer(args[1]) or {}
if not targets or #targets == 1 and not IsValid(targets[1]) then
FAdmin.Messages.SendMessage(ply, 1, "Player not found")
return false
end
local time = tonum... | mit |
Kthulupwns/darkstar | scripts/zones/Port_Bastok/npcs/Dhen_Tevryukoh.lua | 34 | 1619 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dhen Tevryukoh
-- Only sells when Bastok controlls Elshimo Uplands
-- @zone 236
-- @pos 35 -2 2
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
------------... | gpl-3.0 |
Kthulupwns/darkstar | scripts/globals/zone.lua | 5 | 1458 | -----------------------------------
-- SetExplorerMoogles
----------------------------------
function SetExplorerMoogles(moogle)
if (EXPLORER_MOOGLE == 1) then
local npc = GetNPCByID(moogle);
if(npc == nil) then
printf("'SetExplorerMoogles' Error trying to load undefined npc (%d)", Moog... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Apollyon/mobs/Light_Elemental.lua | 119 | 2423 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Newton_Movalpolos/npcs/Moblin_Showman.lua | 9 | 1026 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Moblin Showman - Bugbear Matman
-- @pos 124.544 19.988 -60.670 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Newton_Movalp... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/Metalworks/npcs/Mih_Ketto.lua | 38 | 1037 | -----------------------------------
-- Area: Metalworks
-- NPC: Mih Ketto
-- Type: Standard NPC
-- @zone: 237
-- @pos 24.046 -17 32.751
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
telbbs/luci-0.12 | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/disk.lua | 86 | 1449 | --[[
Luci statistics - df plugin diagram definition
(c) 2008 Freifunk Leipzig / 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
http://www.apache.... | apache-2.0 |
Mleaf/mleaf_luci | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/disk.lua | 86 | 1449 | --[[
Luci statistics - df plugin diagram definition
(c) 2008 Freifunk Leipzig / 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
http://www.apache.... | apache-2.0 |
billypu/lua-lab | coroutine_async2.lua | 1 | 1444 |
local socket = require "socket"
local conn = assert(socket.connect("127.0.0.1", 9000))
conn:send("request for task1#900")
local status, partial = conn:receive(2 ^ 10)
print(status, partial)
-- connection_pool = {}
-- local co_worker = coroutine.create(function (ip, port)
-- -- body
-- -- local connection = ass... | mit |
jlopenwrtluci/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua | 46 | 3168 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("RRDTool Plugin Configuration"),
translate(
"The rrdtool plugin stores the collected data in rrd database " ..
"files, the foundation of the diagrams... | apache-2.0 |
ningg/Atlas | lib/ro-balance.lua | 40 | 6646 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
Kthulupwns/darkstar | scripts/zones/Cape_Teriggan/npcs/Sarmistha_IM.lua | 28 | 3126 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Sarmistha, I.M.
-- Type: Outpost Conquest Guards
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
GabrielNicolasAvellaneda/luvit-upstream | tests/to-convert/test-http-response-error-propagation.lua | 5 | 1113 | --[[
Copyright 2012 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 |
azukiapp/luasocket | test/testmesg.lua | 45 | 2957 | -- load the smtp support and its friends
local smtp = require("socket.smtp")
local mime = require("mime")
local ltn12 = require("ltn12")
function filter(s)
if s then io.write(s) end
return s
end
source = smtp.message {
headers = { ['content-type'] = 'multipart/alternative' },
body = {
[1] = {
... | mit |
pinne/cards | cards.lua | 1 | 12162 | #!/usr/bin/env lua
require "lunit"
module("cards", lunit.testcase, package.seeall)
local ace_high = { "AH", "TS", "9H", "5C", "3C" }
local ace_high2 = { "AC", "TH", "9D", "5S", "3D" }
local pair = { "4H", "8C", "KS", "4C", "3S" }
local two_pairs = { "4H", "KC", "KD", "4S", "3H" }
local three... | gpl-3.0 |
FPtje/DarkRP | entities/weapons/stunstick/shared.lua | 1 | 6553 | AddCSLuaFile()
if CLIENT then
SWEP.Slot = 0
SWEP.SlotPos = 5
SWEP.RenderGroup = RENDERGROUP_BOTH
killicon.AddAlias("stunstick", "weapon_stunstick")
CreateMaterial("darkrp/stunstick_beam", "UnlitGeneric", {
["$basetexture"] = "sprites/lgtning",
["$additive"] = 1
})
end
DEFINE_... | mit |
Kthulupwns/darkstar | scripts/globals/items/mushroom_salad.lua | 39 | 1426 | -----------------------------------------
-- ID: 5678
-- Item: Mushroom Salad
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP 14% Cap 85
-- Agility 6
-- Mind 6
-- Strength -5
-- Vitality -5
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
jamesbrink/sysdig | userspace/sysdig/chisels/lscontainers.lua | 8 | 2542 | --[[
Copyright (C) 2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even t... | gpl-2.0 |
cedlemo/blingbling | config_example/net_tests/theme.lua | 10 | 8343 | ---------------------------
-- Modified Default awesome theme --
---------------------------
theme = {}
theme.font = "Cantarell 10"
theme.bg_normal = "#333333"
theme.bg_focus = "#2099d6"--"#535d6c"
theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444"
theme.bg_systray = theme.bg_normal... | gpl-2.0 |
cedlemo/blingbling | config_example/grid_tests/theme.lua | 10 | 8343 | ---------------------------
-- Modified Default awesome theme --
---------------------------
theme = {}
theme.font = "Cantarell 10"
theme.bg_normal = "#333333"
theme.bg_focus = "#2099d6"--"#535d6c"
theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444"
theme.bg_systray = theme.bg_normal... | gpl-2.0 |
alessandrojean/Lua-DarkAnimes-Karaokes | karaokes/Psycho-Pass_2_Opening.lua | 1 | 6284 | -- This script is given to the public domain.
-- You can use and modify the effect freely, also without credit, although I would appreciate some.
-- Created using jfs's script "Future Windy Blur".
include("karaskel.lua");
include("utils.lua");
include("apihlib.lua");
script_name = "Psycho-Pass 2 OP";
script_... | apache-2.0 |
Kthulupwns/darkstar | scripts/zones/Port_Bastok/npcs/Bartolomeo.lua | 34 | 1612 | -----------------------------------
-- Area: Port Bastok
-- NPC: Bartolomeo
-- Standard Info NPC
-- Involved in Quest: Welcome to Bastok
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requi... | gpl-3.0 |
scottcs/wyx | wyx/command/AttackCommand.lua | 1 | 1755 | local Class = require 'lib.hump.class'
local ConsoleEvent = getClass 'wyx.event.ConsoleEvent'
local Command = getClass 'wyx.command.Command'
local property = require 'wyx.component.property'
local message = require 'wyx.component.message'
-- AttackCommand
--
local AttackCommand = Class{name='AttackCommand',
inherits=... | mit |
Kthulupwns/darkstar | scripts/zones/Metalworks/npcs/Udine_AMAN.lua | 32 | 1364 | -----------------------------------
-- Area: Metalworks
-- NPC: Udine A.M.A.N
-- Type: Mentor Recruiter
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
----------------------------... | gpl-3.0 |
Kthulupwns/darkstar | scripts/globals/spells/Vital_Etude.lua | 11 | 1611 | -----------------------------------------
-- Spell: Vital Etude
-- Static VIT Boost, BRD 70
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
fun... | gpl-3.0 |
mlody1039/ModernOts | data/npc/scripts/vial.lua | 1 | 1598 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCrea... | gpl-3.0 |
Kthulupwns/darkstar | scripts/globals/items/plate_of_boiled_barnacles.lua | 36 | 1279 | -----------------------------------------
-- ID: 5980
-- Item: Plate of Boiled Barnacles
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Charisma -3
-- Defense % 25 Cap 130
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
Kthulupwns/darkstar | scripts/zones/West_Sarutabaruta/npcs/Stone_Monument.lua | 32 | 1299 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -205.593 -23.210 -119.670 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
FPtje/DarkRP | gamemode/modules/fadmin/fadmin/playeractions/giveweapons/cl_controls.lua | 1 | 5398 | -- Controls for the give weapons menu. These are litterally copied and edited from the garry's mod code.
-- Remaking them in case the gamemode is not derived from sandbox
-- Copying from garry's mod code because I'm lazy and because it looks good.
-- Weapon icon:
local PANEL = {}
function PANEL:Init()
self:SetSi... | mit |
FPtje/DarkRP | entities/weapons/keys/shared.lua | 1 | 4160 | AddCSLuaFile()
if SERVER then
AddCSLuaFile("cl_menu.lua")
end
if CLIENT then
SWEP.Slot = 1
SWEP.SlotPos = 1
SWEP.DrawAmmo = false
SWEP.DrawCrosshair = false
include("cl_menu.lua")
end
SWEP.PrintName = "Keys"
SWEP.Author = "DarkRP Developers"
SWEP.Instructions = "Left click to lock\nRight cli... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.