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 |
|---|---|---|---|---|---|
Megaf/MegafXPlore2 | mods/minetest-3d_armor/3d_armor_stand/init.lua | 1 | 8907 | -- support for i18n
local S = armor_i18n.gettext
local armor_stand_formspec = "size[8,7]" ..
default.gui_bg ..
default.gui_bg_img ..
default.gui_slots ..
default.get_hotbar_bg(0,3) ..
"list[current_name;armor_head;3,0.5;1,1;]" ..
"list[current_name;armor_torso;4,0.5;1,1;]" ..
"list[current_name;armor_legs;3,1.5... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/fuscina.lua | 12 | 1097 | -----------------------------------------
-- ID: 18104
-- Item: Fuscina
-- Additional Effect: Lightning Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(play... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua | 14 | 2104 | -----------------------------------
-- Area: Ghelsba_Outpost
-- NPC: Hut Door
-- @pos -165.357 -11.672 77.771 140
-------------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/gl... | gpl-3.0 |
scscgit/scsc_wildstar_addons | CREDDBroker/CREDDBroker.lua | 1 | 46637 | --****************************************************************************************************
-- Client Lua Script for CREDDBroker
-- Copyright (c) NCsoft. All rights reserved
-- Created by SpielePhilosoph - http://www.curse.com/users/SpielePhilosoph/projects
-- Last modified: 201407015
-- Version: 0.4
--*****... | mit |
zegotinha/LiveShift | vlclib/windows/lua/modules/sandbox.lua | 96 | 4375 | --[==========================================================================[
sandbox.lua: Lua sandboxing facilities
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This program is f... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Western_Adoulin/TextIDs.lua | 7 | 2923 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the <item>. Come back after sorting your inventory.
ITEM_CANNOT_BE_OBTAINED_2 = 6379; -- You cannot obtain the #. Come back after sorting your inventory.
ITEM_CANNOT_BE_OBTAINED_3 = 6380; -- You cannot obtain ... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/galkan_sausage.lua | 11 | 1886 | -----------------------------------------
-- ID: 4395
-- Item: galkan_sausage
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Multi-Race Effects
-- Galka
-- Strength 3
-- Intelligence -1
-- Attack % 25
-- Attack Cap 30
-- Ranged ATT % 25
-- Ranged ATT Cap 30
--
-- Other
-- Strength 3
-- In... | gpl-3.0 |
sbx320/mtasa-blue | Client/multiplayer_sa/premake5.lua | 3 | 2476 | project "Multiplayer SA"
language "C++"
kind "SharedLib"
targetname "multiplayer_sa"
targetdir(buildpath("mta"))
-- HACK(Jusonex): Temp fix for ebp not being set in naked functions
-- VS2019 changed the evaluation order as required by the C++17 standard
-- which broke all functions marked with _declspec(naked) ... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/curaga_iv.lua | 28 | 1277 | -----------------------------------------
-- Spell: Curaga IV
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSp... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Batallia_Downs/npcs/qm4.lua | 9 | 1106 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm4 (???)
--
-----------------------------------
local ID = require("scripts/zones/Batallia_Downs/IDs");
require("scripts/globals/missions");
require("scripts/globals/keyitems");
-----------------------------------
function onTrigger(player,npc)
... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/base/entities/entities/base_ai/tasks.lua | 2 | 1886 |
--[[---------------------------------------------------------
Task: PlaySequence
Accepts:
data.ID - sequence id
data.Name - sequence name (Must provide either id or name)
data.Wait - Optional. Should we wait for sequence to finish
data.Speed - Optional. Playback speed of sequence
data.Loop - Optional. Should... | mit |
lichtl/darkstar | scripts/globals/spells/knights_minne_iv.lua | 27 | 1497 | -----------------------------------------
-- Spell: Knight's Minne IV
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cas... | gpl-3.0 |
Benjarobbi/UzzBott | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
punisherbot/he | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/hud/sv_admintell.lua | 8 | 1415 | --[[---------------------------------------------------------------------------
Messages
---------------------------------------------------------------------------]]
local function ccTell(ply, args)
local target = DarkRP.findPlayer(args[1])
if target then
local msg = ""
for n = 2, #args do
... | mit |
sdkbox/sdkbox-facebook-sample-v2 | scripting/lua/script/CocoStudio.lua | 11 | 8563 | require "json"
require "extern"
function sendTriggerEvent(event)
local triggerObjArr = TriggerMng.getInstance():get(event)
if nil == triggerObjArr then
return
end
for i = 1, table.getn(triggerObjArr) do
local triObj = triggerObjArr[i]
if nil ~= triObj and triObj:detect() t... | mit |
Zariel/bollo2 | lib/AceEvent-3.0/AceEvent-3.0.lua | 1 | 2276 | --[[ $Id: AceEvent-3.0.lua 494 2008-02-03 13:03:56Z nevcairiel $ ]]
local MAJOR, MINOR = "AceEvent-3.0", 3
local AceEvent = LibStub:NewLibrary(MAJOR, MINOR)
if not AceEvent then return end
local CallbackHandler = LibStub:GetLibrary("CallbackHandler-1.0")
AceEvent.frame = AceEvent.frame or CreateFrame("Frame", "AceE... | bsd-3-clause |
lichtl/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Cavernous_Maw.lua | 29 | 1200 | -----------------------------------
-- Area: Abyssea - Konschatat
-- NPC: Cavernous Maw
-- @pos 159.943 -72.109 -839.986 15
-- Teleports Players to Konschatat Highlands
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
Joemag/Egg-Battle | lua/StateManager.lua | 1 | 3470 | --[[ Copyright 2014 Sergej Nisin
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 w... | apache-2.0 |
lichtl/darkstar | scripts/zones/Newton_Movalpolos/npcs/HomePoint#1.lua | 27 | 1274 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: HomePoint#1
-- @pos 444 27 -22 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Newton_Movalpolos/TextIDs");
require("scripts/globa... | gpl-3.0 |
scscgit/scsc_wildstar_addons | Hephaestus/lib/Loop/collection/OrderedSet.lua | 1 | 6058 | -----------------------------------------------------------------------------------------------
-- Loop.collection.OrderedSet module repackaged for Wildstar by DoctorVanGogh
-----------------------------------------------------------------------------------------------
local MAJOR,MINOR = "DoctorVanGogh:Lib:Loop:Collec... | mit |
lichtl/darkstar | scripts/zones/Abyssea-Vunkerl/mobs/Sippoy.lua | 16 | 1198 | -----------------------------------
-- Area: Abyssea - Vunkerl
-- Mob: Sippoy
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
end;
------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Bastok_Markets/npcs/Visala.lua | 14 | 1194 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Visala
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -202.000 -7.814 -56.823 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/slice_of_giant_sheep_meat.lua | 18 | 1350 | -----------------------------------------
-- ID: 4372
-- Item: slice_of_giant_sheep_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Intelligence -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
--... | gpl-3.0 |
avilleret/openvibe | applications/demos/motor-imagery/bci-examples/motor-imagery-CSP/motor-imagery-bci-graz-stimulator.lua | 2 | 2466 |
function initialize(box)
dofile(box:get_config("${Path_Data}") .. "/plugins/stimulation/lua-stimulator-stim-codes.lua")
number_of_trials = box:get_setting(2)
first_class = _G[box:get_setting(3)]
second_class = _G[box:get_setting(4)]
baseline_duration = box:get_setting(5)
wait_for_beep_duration = box:get_settin... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20u.lua | 12 | 2710 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- Door: Gilded Gateway (Arrapago)
-- !pos -580 0 -159 72
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/besieged")
local ID = require("scripts/zones/Alzadaal_Unders... | gpl-3.0 |
MightyPirates/OC-LuaJ | luaj-test/src/test/resources/errors/operators.lua | 1 | 6460 | package.path = "?.lua;test/lua/errors/?.lua"
require 'args'
-- arg types for language operator
local notstringortable = { nil, anumber, aboolean, afunction, athread, n=5 }
-- ========= unary operators: - # not
-- unary minus -
banner('unary -')
negative = function(a) return - a end
checkallpass('negative',{somenumber... | mit |
lichtl/darkstar | scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua | 22 | 1131 | -----------------------------------
-- Area: Dynamis Valkurm
-- MOB: Goblin Replica
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
-----------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/serving_of_salmon_roe.lua | 18 | 1326 | -----------------------------------------
-- ID: 5218
-- Item: serving_of_salmon_roe
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 8
-- Magic 8
-- Dexterity 2
-- Mind -1
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Windurst_Woods/npcs/Kyaa_Taali.lua | 12 | 1245 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kyaa Taali
-- Type: Bonecraft Image Support
-- !pos -10.470 -6.25 -141.700 241
-----------------------------------
local ID = require("scripts/zones/Windurst_Woods/IDs")
require("scripts/globals/crafting")
require("scripts/globals/status")
-----------... | gpl-3.0 |
bear24rw/gamingcape_fceu | output/luaScripts/SMB-Jetpack.lua | 9 | 10618 | --Super Mario Bros. - Jetpack
--Written by XKeeper
--A fun script that gives mario a "Jetback"
require("x_functions");
if not x_requires then
-- Sanity check. If they require a newer version, let them know.
timer = 1;
while (true) do
timer = timer + 1;
for i = 0, 32 do
gui.drawbox( 6, 28 + i, 25... | gpl-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/libraries/disjointset.lua | 11 | 1972 | /*---------------------------------------------------------------------------
Disjoint-set forest implementation
Inspired by the book Introduction To Algorithms (third edition)
by FPtje Atheos
Running time per operation (Union/FindSet): O(a(n)) where a is the inverse of the Ackermann function.
-----------------------... | mit |
lichtl/darkstar | scripts/zones/Windurst_Waters/npcs/Yung_Yaam.lua | 14 | 1769 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yung Yaam
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -63 -4 27
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/primal_rend.lua | 10 | 1664 | -----------------------------------
-- Primal Rend
-- Axe weapon skill
-- Skill Level: N/A
-- Deals light elemental damage. Damage varies with TP. Aymur: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Beastmaster) quest.
-- Aligned with the Shadow Gorget, Soil Gorget & Aqua Go... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/RongeloutsNDistaud.lua | 14 | 1647 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rongelouts N Distaud
-- @zone 80
-- @pos 0.067 2 -22
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/ques... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/fast_blade.lua | 10 | 1382 | -----------------------------------
-- Fast Blade
-- Sword weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:20% DEX:20%
-- 100%TP 200%TP 300%TP
--... | gpl-3.0 |
sjznxd/lc-20130222 | modules/niu/luasrc/model/cbi/niu/network/wan.lua | 51 | 2373 | local cursor = require "luci.model.uci".cursor()
if not cursor:get("network", "wan") then
cursor:section("network", "interface", "wan", {proto = "none"})
cursor:save("network")
end
if not cursor:get("wireless", "client") then
cursor:section("wireless", "wifi-iface", "client",
{device = "_", doth = "1", _niu = "1... | apache-2.0 |
lichtl/darkstar | scripts/zones/Davoi/npcs/Hide_Flap.lua | 14 | 2842 | -----------------------------------
-- Area: Davoi
-- NPC: Hide Flap
-- Involved in Quest: The Doorman, The First Meeting
-- @pos 293 3 -213 149 (WAR)(K-9)
-- @pos -124 3 -43 149 (MNK)(F-7)
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Megaf/MegafXPlore2 | mods/minetest-3d_armor/3d_armor/intllib.lua | 53 | 1122 |
-- Fallback functions for when `intllib` is not installed.
-- Code released under Unlicense <http://unlicense.org>.
-- Get the latest version of this file at:
-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua
local function format(str, ...)
local args = { ... }
local function repl... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Castle_Zvahl_Baileys/npcs/Switchstix.lua | 9 | 20014 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Switchstix
-- Type: Standard NPC
-- !pos 386.091 -13 -17.399 161
-----------------------------------
local ID = require("scripts/zones/Castle_Zvahl_Baileys/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/status");
---------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/sandbox/gamemode/spawnmenu/controls/ctrllistbox.lua | 1 | 2289 |
local PANEL = {}
--AccessorFunc( PANEL, "m_ConVarR", "ConVarR" )
--[[---------------------------------------------------------
Name: Init
-----------------------------------------------------------]]
function PANEL:Init()
self.ConVars = {}
self.Options = {}
end
--[[---------------------------------------------... | mit |
scscgit/scsc_wildstar_addons | Hephaestus/lib/Loop/multiple.lua | 1 | 5206 | -----------------------------------------------------------------------------------------------
-- Loop.multiple module repackaged for Wildstar by DoctorVanGogh
-----------------------------------------------------------------------------------------------
local MAJOR,MINOR = "DoctorVanGogh:Lib:Loop:Multiple", 2
-- Ge... | mit |
lichtl/darkstar | scripts/zones/Upper_Jeuno/npcs/Monberaux.lua | 14 | 5908 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Monberaux
-- Starts and Finishes Quest: The Lost Cardian (finish), The kind cardian (start)
-- Involved in Quests: Save the Clock Tower
-- @pos -43 0 -1 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
pac... | gpl-3.0 |
lichtl/darkstar | scripts/globals/abilities/hasso.lua | 27 | 1129 | -----------------------------------
-- Ability: Hasso
-- Grants a bonus to attack speed, accuracy, and Strength when using two-handed weapons, but increases recast and casting times.
-- Obtained: Samurai Level 25
-- Recast Time: 1:00
-- Duration: 5:00
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
OctoEnigma/shiny-octo-system | lua/includes/modules/widget.lua | 1 | 2736 |
--
-- Widgets are like gui controls in the 3D world(!!!)
--
widgets = {}
--
-- Holds the currently hovered widget
--
widgets.Hovered = nil
widgets.HoveredPos = Vector( 0, 0, 0 )
--
-- Holds the current pressed widget
--
widgets.Pressed = nil
local function UpdateHovered( pl, mv )
if ( !IsValid( pl ) ) then re... | mit |
jbeich/torch7 | Tensor.lua | 57 | 16339 | -- additional methods for Storage
local Storage = {}
-- additional methods for Tensor
local Tensor = {}
-- types
local types = {'Byte', 'Char', 'Short', 'Int', 'Long', 'Float', 'Double'}
-- Lua 5.2 compatibility
local log10 = math.log10 or function(x) return math.log(x, 10) end
-- tostring() functions for Tensor an... | bsd-3-clause |
RunAwayDSP/darkstar | scripts/zones/Upper_Jeuno/npcs/Collet.lua | 9 | 1707 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Collet
-- Involved in Quests: A Clock Most Delicate, Save the Clock Tower
-- !pos -44 0 107 244
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
require("scripts/globals/quests");
-----------------... | gpl-3.0 |
silky/neural-animation | loadcaffe_wrapper.lua | 58 | 2411 | local ffi = require 'ffi'
require 'loadcaffe'
local C = loadcaffe.C
--[[
Most of this function is copied from
https://github.com/szagoruyko/loadcaffe/blob/master/loadcaffe.lua
with some horrible horrible hacks added by Justin Johnson to
make it possible to load VGG-19 without any CUDA dependency.
--]]
local fu... | mit |
lichtl/darkstar | scripts/zones/Jugner_Forest/npcs/Mionie.lua | 14 | 1907 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Mionie
-- Type: Outpost Vendor
-- @pos 54 0 -11 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/dark_wave.lua | 11 | 1250 | ---------------------------------------------
-- Dark Wave
--
-- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' radial
-- Notes: Severity of Bio effect varies by time of day, from 8/tic at... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Southern_San_dOria/npcs/Cahaurme.lua | 11 | 1457 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Cahaurme
-- Involved in Quest: A Knight's Test, Lost Chick
-- !pos 55.749 -8.601 -29.354 230
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
local ... | gpl-3.0 |
sjznxd/lc-20130222 | modules/niu/luasrc/controller/niu/traffic.lua | 49 | 1218 | --[[
LuCI - Lua Development Framework
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 |
lichtl/darkstar | scripts/zones/Western_Altepa_Desert/npcs/relic.lua | 14 | 1892 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: <this space intentionally left blank>
-- @pos -152 -16 20 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_De... | gpl-3.0 |
dalqak/slf | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | agpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters/npcs/Naiko-Paneiko.lua | 25 | 3850 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Naiko-Paneiko
-- Involved In Quest: Making Headlines, Riding on the Clouds
-- @zone 238
-- @pos -246 -5 -308
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loaded["scripts/globals/settings"]... | gpl-3.0 |
thermofisherlsms/xcalibur-workbench | Tartare/AGC.lua | 1 | 4063 | -- Copyright (c) 2018 Thermo Fisher Scientific
--
-- 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,
-- merge, ... | mit |
lichtl/darkstar | scripts/zones/Ifrits_Cauldron/npcs/Mining_Point.lua | 17 | 1086 | -----------------------------------
-- Area: Ifrits Cauldron
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Ifrits_Cauldron/TextIDs");
-----------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/crescent_moon.lua | 25 | 1780 | -----------------------------------
-- Crescent Moon
-- Great Sword weapon skill
-- Skill level: 175
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:35%
-- 100%TP 200%TP 300%TP
-- 1.0 1.75 2.5
-----------------------------------
require("scripts/globals/status");
require("sc... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Cape_Teriggan/IDs.lua | 9 | 3415 | -----------------------------------
-- Area: Cape_Teriggan
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.CAPE_TERIGGAN] =
{
text =
{
NOTHING_HAPPENS = 119, -- Nothing happens...
ITEM_CANNO... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/scourge.lua | 19 | 2229 | -----------------------------------
-- Scourge
-- Great Sword weapon skill
-- Skill level: N/A
-- Additional effect: temporarily improves params.critical hit rate.
-- params.critical hit rate boost duration is based on TP when the weapon skill is used. 100% TP will give 20 seconds of params.critical hit rate boost; thi... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Metalworks/npcs/Lucius.lua | 14 | 2015 | -----------------------------------
-- Area: Metalworks
-- NPC: Lucius
-- Involved in Mission: Bastok 3-3
-- Involved in Quest: Riding on the Clouds
-- @pos 59.959 -17.39 -42.321 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/knights_of_round.lua | 10 | 1784 | -----------------------------------
-- Knights Of Round
-- Sword Weapon Skill
-- Skill Level: N/A
-- Caliburn/Excalibur: Additional Effect: Regen.
-- Regen 10HP/Tick, duration varies with TP.
-- Available only when equipped with the Relic Weapons Caliburn (Dynamis use only) or Excalibur.
-- Also available without after... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/entities/weapons/weapon_ttt_c4.lua | 2 | 4247 |
-- traitor equipment: c4 bomb
AddCSLuaFile()
SWEP.HoldType = "slam"
if CLIENT then
SWEP.PrintName = "C4"
SWEP.Slot = 6
SWEP.ViewModelFlip = false
SWEP.ViewModelFOV = 54
SWEP.DrawCrosshair = false
SWEP.EquipMenuData = {
type = "item... | mit |
nfxosp/platform_external_skia | tools/lua/paths_agg.lua | 92 | 1207 |
clips = 0
draws = 0
clipPaths = 0
drawPaths = 0
swClipPaths = 0
swDrawPaths = 0
skpsTotal = 0
skpsWithPath = 0
skpsWithSWPath = 0
dofile("/tmp/lua-output")
io.write("Number of clips: ", clips, "\n");
io.write("Number of draws: ", draws, "\n");
io.write("Number of clipped paths: ", clipPaths, "\n");
io.write("Number... | bsd-3-clause |
lichtl/darkstar | scripts/globals/items/serving_of_mushroom_sautee.lua | 18 | 1291 | -----------------------------------------
-- ID: 5676
-- Item: serving_of_mushroom_sautee
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- MP 60
-- Mind 6
-- MP Recovered While Healing 6
-----------------------------------------
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
ld-test/lluv | lakeconfig.lua | 14 | 5531 | local io = require "io"
io.stdout:setvbuf"no"
io.stderr:setvbuf"no"
function vc_version()
local VER = lake.compiler_version()
MSVC_VER = ({
[15] = '9';
[16] = '10';
})[VER.MAJOR] or ''
return MSVC_VER
end
if not L then
local function arkey(t)
assert(type(t) == 'table')
local keys = {}
for k in ... | mit |
NiLuJe/koreader | plugins/docsettingtweak.koplugin/main.lua | 4 | 4747 | local Device = require("device")
if not Device:isTouchDevice() then
return { disabled = true }
end
local BD = require("ui/bidi")
local DataStorage = require("datastorage")
local FFIUtil = require("ffi/util")
local InputDialog = require("ui/widget/inputdialog")
local LuaSettings = require("luasettings")
local UIMa... | agpl-3.0 |
lichtl/darkstar | scripts/zones/Cloister_of_Storms/mobs/Ramuh_Prime.lua | 23 | 2201 | -----------------------------------
-- Area: Cloister of Storms
-- MOB: Ramuh Prime
-- Involved in Quest: Trial by Lightning
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/libraries/sh_cami.lua | 15 | 13591 | --[[
CAMI - Common Admin Mod Interface.
Makes admin mods intercompatible and provides an abstract privilege interface
for third party addons.
IMPORTANT: This is a draft script. It is very much WIP.
Follows the specification on this page:
https://docs.google.com/document/d/1QIRVcAgZfAYf1aBl_dNV_ewR6P25wze2KmUVzlbFgMI
... | mit |
lichtl/darkstar | scripts/zones/Qulun_Dome/npcs/_441.lua | 14 | 1655 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Door
-- Involved in Mission: Limit Break 3
-- @pos 299.999 37.864 47.067 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("s... | gpl-3.0 |
hsmaniee/narsisbaby | bot/bot.lua | 1 | 8058 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
require("./bot/permissions")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/globals/spells/bewitching_etude.lua | 12 | 1616 | -----------------------------------------
-- Spell: Bewitching Etude
-- Static CHR Boost, BRD 62
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,targ... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/lizard_egg.lua | 18 | 1161 | -----------------------------------------
-- ID: 4362
-- Item: lizard_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 5
-- Magic 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
padrinoo/padrino15 | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/zones/Sauromugue_Champaign_[S]/npcs/Bulwark_Gate.lua | 9 | 1244 | -----------------------------------
-- Area: Sauromugue Champaign [S]
-- NPC: Bulwark Gate
-- !pos -445 0 342
-- Quest NPC
-----------------------------------
require("scripts/globals/campaign");
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/globals/settings");
----------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/sv_fadmin.lua | 5 | 3663 | util.AddNetworkString("FAdmin_retrievebans")
util.AddNetworkString("FADMIN_SendGroups")
util.AddNetworkString("FAdmin_GlobalSetting")
util.AddNetworkString("FAdmin_PlayerSetting")
util.AddNetworkString("FAdmin_GlobalPlayerSettings")
-- recursively adds everything in a directory to be downloaded by client
local functio... | mit |
lichtl/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm19.lua | 57 | 2137 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm19 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- @pos -50.175 6.264 251.669 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
PUMpITapp/getsmart | src/spec/mathGame_spec.lua | 1 | 8525 | require "mathGame"
describe('Boundry testing getLowerBound()', function ( ... )
it('Boundry: 8, level = 9', function ( ... )
assert.are.same(9,getLowerBound(9))
end)
it('Boundry: 8, level = 8', function ( ... )
assert.are_not.same(9,getLowerBound(8))
end)
it('Boundry: 8, level = 7', function ( ... )
ass... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/fadmin/cl_interface/cl_scoreboardServer.lua | 5 | 10825 | FAdmin.ScoreBoard.Server.Information = {} -- Compatibility for autoreload
FAdmin.ScoreBoard.Server.ActionButtons = {} -- Refresh server buttons when reloading gamemode
local function MakeServerOptions()
local _, YPos, Width = 20, FAdmin.ScoreBoard.Y + 120 + FAdmin.ScoreBoard.Height / 5 + 20, (FAdmin.ScoreBoard.Wid... | mit |
OctoEnigma/shiny-octo-system | addons/darkrpmodification-master/lua/darkrp_language/chatcommands.lua | 8 | 7815 | --[[---------------------------------------------------------------------------
English (example) Chat command translation file
---------------------------------------------------------------------------
This file contains translations for chat command descriptions.
On the left side you see the chat command, on the ri... | mit |
NiLuJe/koreader | spec/unit/dbg_spec.lua | 13 | 2356 | describe("Dbg module", function()
local dbg, dbg_on
setup(function()
package.path = "?.lua;common/?.lua;rocks/share/lua/5.1/?.lua;frontend/?.lua;" .. package.path
dbg = require("dbg")
dbg_on = dbg.is_on
end)
after_each(function()
if dbg_on then
dbg:turnOn()
... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_Bastok/IDs.lua | 12 | 7450 | -----------------------------------
-- Area: Port_Bastok
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.PORT_BASTOK] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back a... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/Cavernous_Maw.lua | 29 | 1194 | -----------------------------------
-- Area: Abyssea - Vunkerl
-- NPC: Cavernous Maw
-- @pos -360.000 -46.750 700.000 217
-- Notes: Teleports Players to Jugner Forest
-----------------------------------
package.loaded["scripts/zones/Abyssea-Vunkerl/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hadayah.lua | 12 | 1163 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hadayah
-- Type: Alchemy Image Support
-- !pos -10.470 -6.25 -141.700 241
-----------------------------------
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/status")
require("scripts/globals/crafting")
----... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/geirskogul.lua | 19 | 1848 | -----------------------------------
-- Geirskogul
-- Polearm weapon skill
-- Skill Level: N/A
-- Gae Assail/Gungnir: Shock Spikes.
-- This weapon skill is only available with the stage 5 relic Polearm Gungnir, within Dynamis with the stage 4 Gae Assail, or by activating the latent effect on the Skogul Lance.
-- Aligned... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Ranguemont_Pass/npcs/Perchond.lua | 9 | 1205 | -----------------------------------
-- Area: Ranguemont Pass
-- NPC: Perchond
-- !pos -182.844 4 -164.948 166
-----------------------------------
local ID = require("scripts/zones/Ranguemont_Pass/IDs")
require("scripts/globals/keyitems")
-----------------------------------
function onTrade(player,npc,trade)
if (... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Kazham/npcs/Popopp.lua | 9 | 2740 | -----------------------------------
-- Area: Kazham
-- NPC: Popopp
-- Standard Info NPC
-----------------------------------
function onTrade(player,npc,trade)
-- item IDs
-- 483 Broken Mithran Fishing Rod
-- 22 Workbench
-- 1008 Ten of Coins
-- 1157 Sands of Silence
-- 1... | gpl-3.0 |
padrinoo/padrino15 | plugins/time.lua | 771 | 2865 | -- 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 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/hungermod/sv_interface.lua | 10 | 2144 | DarkRP.PLAYER.newHungerData = DarkRP.stub{
name = "newHungerData",
description = "Create the initial hunger data (called on PlayerInitialSpawn).",
parameters = {
},
returns = {
},
metatable = DarkRP.PLAYER
}
DarkRP.PLAYER.hungerUpdate = DarkRP.stub{
name = "hungerUpdate",
descriptio... | mit |
NiLuJe/koreader | frontend/apps/reader/readerui.lua | 3 | 30668 | --[[
ReaderUI is an abstraction for a reader interface.
It works using data gathered from a document interface.
]]--
local BD = require("ui/bidi")
local ConfirmBox = require("ui/widget/confirmbox")
local Device = require("device")
local DeviceListener = require("device/devicelistener")
local DocCache = require("docum... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/quietus.lua | 10 | 1867 | -----------------------------------
-- Quietus
-- Scythe weapon skill
-- Skill Level: N/A
-- Delivers a triple damage attack that ignores target's defense. Amount ignored varies with TP. Redemption: Aftermath.
-- Available only when equipped with Redemption (85)/(90)/(95)/(99) or Penitence +1/+2/+3/Umiliati.
-- Aligned... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/armys_paeon_ii.lua | 12 | 1373 | -----------------------------------------
-- Spell: Army's Paeon II
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/Grounds_Tome.lua | 30 | 1107 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/sweet_baked_apple.lua | 18 | 1300 | -----------------------------------------
-- ID: 4336
-- Item: sweet_baked_apple
-- Food Effect: 1hour, All Races
-----------------------------------------
-- Magic Points 25
-- Intelligence 4
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
NiLuJe/koreader | frontend/ui/widget/radiobuttonwidget.lua | 3 | 7925 | --[[--
Widget that allows selecting an entry from a @{ui.widget.radiobuttontable|RadioButton} list.
Example:
local RadioButtonWidget = require("ui/widget/radiobuttonwidget")
local radio_buttons = {
{ {text = _("Radio 1"), provider = 1} },
{ {text = _("Radio 2"), provider = 2, checked = true} ... | agpl-3.0 |
OctoEnigma/shiny-octo-system | lua/includes/modules/constraint.lua | 1 | 46136 |
if ( SERVER ) then
-- If you're a server admin and you want your physics to spazz out less you can
-- use the convar. The higher you set it the more accurate physics will be.
-- This is set to 4 by default, since we are a physics mod.
CreateConVar( "gmod_physiterations", "4", { FCVAR_REPLICATED, FCVAR_ARCHIVE } ... | mit |
lichtl/darkstar | scripts/zones/Metalworks/npcs/Pius.lua | 14 | 1976 | -----------------------------------
-- Area: Metalworks
-- NPC: Pius
-- Involved In Mission: Journey Abroad
-- @pos 99 -21 -12 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zon... | gpl-3.0 |
zegotinha/LiveShift | vlclib/windows/lua/meta/art/02_frenchtv.lua | 48 | 2666 | --[[
Gets an artwork from amazon
$Id$
Copyright © 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version... | gpl-3.0 |
NiLuJe/koreader | plugins/coverimage.koplugin/main.lua | 4 | 32431 | --[[--
@module koplugin.coverimage
Plugin for saving a cover image to a file and scaling it to fit the screen.
]]
local Device = require("device")
if not (Device.isAndroid() or Device.isEmulator() or Device.isRemarkable() or Device.isPocketBook()) then
return { disabled = true }
end
local A, android = pcall(req... | agpl-3.0 |
scscgit/scsc_wildstar_addons | Hephaestus/lib/GeminiLogging/GeminiLogging.lua | 6 | 5270 | -------------------------------------------------------------------------------
-- GeminiLogging
-- Copyright (c) NCsoft. All rights reserved
-- Author: draftomatic
-- Logging library (loosely) based on LuaLogging.
-- Comes with appenders for GeminiConsole and Print() Debug Channel.
------------------------------------... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.