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 |
|---|---|---|---|---|---|
nyczducky/darkstar | scripts/globals/items/bowl_of_turtle_soup.lua | 12 | 1552 | -----------------------------------------
-- ID: 4418
-- Item: Turtle Soup
-- Food Effect: 3hours, All Races
-----------------------------------------
-- HP + 10% (200 Cap)
-- Dexterity +4
-- Vitality +6
-- Mind -3
-- HP Recovered While Healing +5
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
pouria346/selfbot2 | plugins/ctrl.lua | 1 | 2305 | local function reload_plugins( )
plugins = {}
return load_plugins()
end
function run_bash(command)
local cmd = io.popen(command)
local result = cmd:read('*all')
cmd:close()
return result
end
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if... | gpl-2.0 |
jamesbdunlop/iction | frames/insanityFrame.lua | 1 | 2475 | local iction = iction
iction.ictInsanityData = {
uiName = "iction_insanityFrame",
nameAttr = "iction_insanityFrame",
uiInherits = nil,
userPlaced = true,
movable = true,
enable... | apache-2.0 |
nyczducky/darkstar | scripts/zones/Windurst_Woods/npcs/Bozack.lua | 14 | 1049 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bozack
-- Type: Event Replayer
-- @zone 241
-- @pos 92.591 -5.58 -31.529
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
---------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Pashhow_Marshlands_[S]/Zone.lua | 12 | 2041 | -----------------------------------
--
-- Zone: Pashhow_Marshlands_[S] (90)
--
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs");
require("scripts/globals/settings");
requ... | gpl-3.0 |
guangbin79/Lua_5.1.5-iOS | lua-script/copas/limit.lua | 2 | 3397 | --------------------------------------------------------------
-- Limits resource usage while executing tasks.
-- Tasks added will be run in parallel, with a maximum of
-- simultaneous tasks to prevent consuming all/too many resources.
-- Every task added will immediately be scheduled (if there is room)
-- using the `... | mit |
moltafet35/senatorv2 | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
Arashbrsh/lifeeee | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
abcdefg30/OpenRA | mods/ra/maps/fall-of-greece-2-evacuation/evacuation.lua | 7 | 8783 | --[[
Copyright 2007-2022 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 |
lgeek/koreader | frontend/device/kobo/powerd.lua | 1 | 11157 | local BasePowerD = require("device/generic/powerd")
local NickelConf = require("device/kobo/nickel_conf")
local PluginShare = require("pluginshare")
local SysfsLight = require ("device/kobo/sysfs_light")
local batt_state_folder =
"/sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat/"
-- Here, we onl... | agpl-3.0 |
nyczducky/darkstar | scripts/globals/items/rolanberry_(881_ce).lua | 12 | 1192 | -----------------------------------------
-- ID: 4529
-- Item: rolanberry_881_ce)
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/aurorastorm.lua | 32 | 1189 | --------------------------------------
-- Spell: Aurorastorm
-- Changes the weather around target party member to "auroras."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------------------... | gpl-3.0 |
ArmanIr/restore | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
mynameiscraziu/mycaty | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
sevu/wesnoth | data/lua/wml/modify_unit.lua | 3 | 4011 | local utils = wesnoth.require "wml-utils"
local wml_actions = wesnoth.wml_actions
-- The [modify_unit] implementation.
-- Implementation detail: every affected unit is passed through [unstore_unit], so gets
-- that tag's implementation's handling of special cases such as x,y=recall,recall.
function wml_actions.modify... | gpl-2.0 |
esbullington/snabbp4 | syntax/parser.lua | 1 | 10221 | local lexer = require("snabbp4.syntax.lexer")
local utils = require("snabbp4.syntax.utils.debug")
local class = require("snabbp4.syntax.utils.middleclass")
local symbols = require("snabbp4.syntax.symbols")
local assertions = require("snabbp4.syntax.assertions")
-- precedence values
local precedence = ... | apache-2.0 |
abosalah22/memo | plugins/all.lua | 41 | 4395 | do
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['..user_id..']'
return u... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Roiloux_RK.lua | 14 | 1045 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Roiloux, R.K.
-- Type: Campaign Arbiter
-- @pos 70.493 -0.602 -9.185 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Fores... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Travonce.lua | 14 | 1060 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Travonce
-- Type: Standard NPC
-- @zone 26
-- @pos -89.068 -14.367 -0.030
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
----... | gpl-3.0 |
abcdefg30/OpenRA | mods/ra/maps/ant-01/ant-attack.lua | 7 | 2347 | --[[
Copyright 2007-2022 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 |
micdah/LrControl | Source/LrControl.Plugin/ChangeObserverParameters.lua | 1 | 4990 |
--[[----------------------------------------------------------------------------
Copyright ? 2016 Michael Dahl
This file is part of LrControl.
LrControl 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 v... | gpl-3.0 |
melfi19/OpenRA | mods/ra/maps/soviet-04b/main.lua | 15 | 4003 |
RunInitialActivities = function()
Harvester.FindResources()
Helper.Destroy()
IdlingUnits()
Trigger.AfterDelay(DateTime.Seconds(1), function()
BringPatrol1()
Trigger.AfterDelay(DateTime.Seconds(5), function()
BringPatrol2()
end)
BuildBase()
end)
Utils.Do(Map.NamedActors, function(actor)
if actor.Own... | gpl-3.0 |
jbeich/Aquaria | files/scripts/maps/node_gasp.lua | 6 | 1109 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/La_Theine_Plateau/mobs/Bloodtear_Baldurf.lua | 13 | 1668 | -----------------------------------
-- Area: La Theine Plateau
-- MOB: Bloodtear_Baldurf
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/La_Theine_Plateau/MobIDs");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
functio... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm2.lua | 14 | 1568 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Kirin)
-- @pos -81 32 2 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
--... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/rolanberry_daifuku_+1.lua | 12 | 2292 | -----------------------------------------
-- ID: 6340
-- Item: rolanberry_daifuku_+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +30
-- VIT +4
-- Accuracy +11% (cap 54)
-- Ranged Accuracy +11% (cap 54)
-- Magic Accuracy +4
-- Pet:
-- HP +30
-- VIT +4
-- Accuracy +11% (cap 81)
-- Ra... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Hieroglyphics.lua | 7 | 2737 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: Hieroglyphics
-- Notes: Dynamis Tavnazia Enter
-- @pos 3.674 -7.278 -27.856 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
abcdefg30/OpenRA | mods/ra/maps/allies-05b/allies05b.lua | 7 | 12709 | --[[
Copyright 2007-2022 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 |
cliffano/swaggy-jenkins | clients/lua/generated/openapiclient/api/blue_ocean_api.lua | 1 | 56098 | --[[
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.5.1-pre.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
]]
--package openapiclient
local http_request = require "http.request"
local http_util = require ... | mit |
nyczducky/darkstar | scripts/zones/Upper_Jeuno/npcs/Mhao_Kehtsoruho.lua | 14 | 1054 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mhao Kehtsoruho
-- Type: Past Event Watcher
-- @zone 244
-- @pos -73.032 -1 146.919
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
----------... | gpl-3.0 |
andreiribas/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
dtrip/awesome | tests/examples/awful/tooltip/textclock2.lua | 6 | 1112 | --DOC_GEN_IMAGE
--DOC_NO_USAGE
require("_date") --DOC_HIDE
screen[1]._resize {width = 300, height = 75} --DOC_HIDE
local awful = {tooltip = require("awful.tooltip"), wibar = require("awful.wibar")} --DOC_HIDE
local wibox = { widget = { textclock = require("wibox.widget.textclock") }, --DOC_HIDE
layout = { align = r... | gpl-2.0 |
shanyou/mlua | src/libmlua/libs/mobdebug.lua | 1 | 64831 | --
-- MobDebug 0.606
-- Copyright 2011-14 Paul Kulchenko
-- Based on RemDebug 1.0 Copyright Kepler Project 2005
--
-- use loaded modules or load explicitly on those systems that require that
local require = require
local io = io or require "io"
local table = table or require "table"
local string = string or ... | mit |
nyczducky/darkstar | scripts/globals/spells/hojo_ichi.lua | 27 | 1249 | -----------------------------------------
-- Spell: Hojo:Ichi
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------... | gpl-3.0 |
ruleless/skynet | lualib/skynet/manager.lua | 72 | 1923 | local skynet = require "skynet"
local c = require "skynet.core"
function skynet.launch(...)
local addr = c.command("LAUNCH", table.concat({...}," "))
if addr then
return tonumber("0x" .. string.sub(addr , 2))
end
end
function skynet.kill(name)
if type(name) == "number" then
skynet.send(".launcher","lua","REMO... | mit |
nyczducky/darkstar | scripts/zones/Windurst_Woods/npcs/Harara_WW.lua | 13 | 5527 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Harara, W.W.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Missions and of... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Arrapago_Reef/mobs/Medusa.lua | 20 | 1467 | -----------------------------------
-- Area: Arrapago Reef
-- MOB: Medusa
-- @pos -458 -20 458
-- TODO: resists, attack/def boosts
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Arrapago_Reef/TextIDs");
-----------------------------------
-- onMobSpawn Action
----------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Apollyon/bcnms/SE_Apollyon.lua | 22 | 1456 | -----------------------------------
-- Area: Appolyon
-- Name: SE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[SE_Apollyon]Uniq... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/mobskills/Stormwind.lua | 30 | 2237 | ---------------------------------------------
-- Stormwind
--
-- Description: Creates a whirlwind that deals Wind damage to targets in an area of effect.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown radial
-- Notes:
---------------------------------------------
require("scripts/glob... | gpl-3.0 |
dtrip/awesome | tests/examples/wibox/layout/template.lua | 5 | 3075 | local file_path, image_path = ...
require("_common_template")(...)
local wibox = require( "wibox" )
local color = require( "gears.color" )
local beautiful = require( "beautiful" )
local unpack = unpack or table.unpack -- luacheck: globals unpack (compatibility with Lua 5.1)
-- Create a generi... | gpl-2.0 |
weissj3/milkywayathome_client | separation/tests/stripe_22.lua | 4 | 1488 |
wedge = 22
background = {
q = 0.31434394882494787193,
r0 = 2.87911089665332431409
}
streams = {
{
epsilon = -1.65881577218413367447,
mu = 135.91388126472116937293,
r = 18.13833616641942469982,
theta = 0.71972082401347736713,
phi = -1.23577346797868070638,
... | gpl-3.0 |
SamOatesPlugins/cuberite | Server/Plugins/APIDump/Hooks/OnPluginsLoaded.lua | 44 | 2702 | return
{
HOOK_PLUGINS_LOADED =
{
CalledWhen = "All the enabled plugins have been loaded",
DefaultFnName = "OnPluginsLoaded", -- also used as pagename
Desc = [[
This callback gets called when the server finishes loading and initializing plugins. This is the
perfect occasion for a plugin to query other plu... | apache-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/wisker.lua | 6 | 3979 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/pistolshrimp.lua | 6 | 4121 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Kazham/npcs/Roropp.lua | 15 | 8491 | -----------------------------------
-- Area: Kazham
-- NPC: Roropp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
16.031977, -8.000000, -106.132980,
16.257568, -... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Mhaura/npcs/Tya_Padolih.lua | 14 | 1479 | -----------------------------------
-- Area: Mhaura
-- NPC: Tya Padolih
-- Standard Merchant NPC
-- @pos -48 -4 30 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Mhaura/TextIDs");... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f8.lua | 12 | 1096 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 260 -34 88 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Castle_Oztroja/npcs/_47z.lua | 14 | 1429 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47z (Torch Stand)
-- Notes: Opens door _474
-- @pos -62.464 24.218 -67.313 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztr... | gpl-3.0 |
MOSAVI17/Generalbot | plugins/gImages.lua | 8 | 2110 | -- You need a Google API key and a Google Custom Search Engine set up to use this, in config.google_api_key and config.google_cse_key, respectively.
-- You must also sign up for the CSE in the Google Developer Concsole, and enable image results.
if not config.google_api_key then
print('Missing config value: google_... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/mobskills/Nullifying_Dropkick.lua | 58 | 1046 | ---------------------------------------------
-- Nullifying Dropkick
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------... | gpl-3.0 |
lgeek/koreader | plugins/kobolight.koplugin/main.lua | 1 | 9548 | local Device = require("device")
local with_frontlight = (Device:isKindle() or Device:isKobo()) and Device:hasFrontlight()
local with_natural_light = Device:isKobo() and Device:hasNaturalLight()
if not (with_frontlight or Device:isSDL()) then
return { disabled = true, }
end
local ConfirmBox = require("ui/widget/c... | agpl-3.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Wyatt.lua | 14 | 2081 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Wyatt
-- @zone 80
-- @pos 124 0 84
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("s... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua | 53 | 1835 | -----------------------------------
-- Area: Port Windurst
-- NPC: Erabu-Fumulubu
-- Type: Fishing Synthesis Image Support
-- @pos -178.900 -2.789 76.200 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/st... | gpl-3.0 |
cliffano/swaggy-jenkins | clients/lua/generated/spec/generic_resource_spec.lua | 1 | 1812 | --[[
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.5.1-pre.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
]]
--[[
Unit tests for openapiclient.model.generic_resource
Automatically generated by openapi-gen... | mit |
nyczducky/darkstar | scripts/globals/items/serving_of_salmon_meuniere_+1.lua | 12 | 1400 | -----------------------------------------
-- ID: 4347
-- Item: serving_of_salmon_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -2
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
micdah/LrControl | Source/LrControl.Plugin/ModulesLrDevelopController.lua | 1 | 8510 | --[[----------------------------------------------------------------------------
Copyright ? 2016 Michael Dahl
This file is part of LrControl.
LrControl 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 ve... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Lower_Jeuno/npcs/_l08.lua | 7 | 2719 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @pos -44 0 -47 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Nyzul_Isle/mobs/Imperial_Gear.lua | 10 | 1851 | -----------------------------------
-- Area: Nyzul Isle (Path of Darkness)
-- MOB: Imperial Gear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Nyzul_Isle/IDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMob... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/_unused/lumitebreeder.lua | 6 | 3488 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 14 | 1056 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora_+1.lua | 12 | 1664 | -----------------------------------------
-- ID: 5200
-- Item: dish_of_spaghetti_pescatora_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 160
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 70
-- Store TP 6
-----------------------------------------
re... | gpl-3.0 |
wenhulove333/ScutServer | Sample/Koudai/Client/lua/datapool/Image.lua | 1 | 4398 |
------------------------------------------------------------------
-- Image.lua
-- Author :
-- Version : 1.15
-- Date :
-- Description: ͼƬ,
------------------------------------------------------------------
module("Image", package.seeall)--ͼƬ×ÊԴ·¾¶
------------------
image_toumingPat... | mit |
nyczducky/darkstar | scripts/zones/Southern_San_dOria/npcs/Kueh_Igunahmori.lua | 14 | 1252 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Kueh Igunahmori
-- Guild Merchant NPC: Leathercrafting Guild
-- @pos -194.791 -8.800 13.130 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
jakianroy/NGUI_To_Be_Best | Assets/LuaFramework/Lua/3rd/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-3.0 |
zeuosagenti/zeuosagenti | plugins/help.lua | 1 | 4710 | do
function run(msg, matches)
local mods = [[
راهنما فارسی مدیران :
@telemanager_ch
!kick [Username | ID | Reply]
!ban [username | ID | Reply]
!unban [Username | ID | Reply]
!banlist
!id [Username | Id | Reply]
!res @username
!res [Reply]
!lock [ads | name | tag | leave | badw | member | chat | farsi | bots]... | gpl-2.0 |
weissj3/milkywayathome_client | separation/tests/SeparationTests.lua | 4 | 6702 | --
-- Copyright (C) 2011 Matthew Arsenault
--
-- This file is part of Milkway@Home.
--
-- Milkyway@Home 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 3 of the License, or
-- (at your option)... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle.lua | 28 | 1049 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Achtelle
-- @zone 80
-- @pos 108 2 -11
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle1.lua | 28 | 1049 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Achtelle
-- @zone 80
-- @pos 108 2 -11
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
abeschneider/nn | View.lua | 41 | 2232 | local View, parent = torch.class('nn.View', 'nn.Module')
function View:__init(...)
parent.__init(self)
if select('#', ...) == 1 and torch.typename(select(1, ...)) == 'torch.LongStorage' then
self.size = select(1, ...)
else
self.size = torch.LongStorage({...})
end
self.numElements = 1
loc... | bsd-3-clause |
wenhulove333/ScutServer | Sample/Koudai/Client/lua/scenes/ActiveTopUpScene.lua | 1 | 6744 | ------------------------------------------------------------------
-- ActiveTopUpScene.lua.lua
-- Author : yeyq
-- Version : 1.0
-- Date :
-- Description: Ê׳佱Àø½çÃæ
------------------------------------------------------------------
module("ActiveTopUpScene", package.seeall)
-- ³¡¾°ÖÐÓõ½µÄ... | mit |
nyczducky/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#1.lua | 27 | 1295 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#1
-- @pos -21.129 0.001 -20.944 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
r... | gpl-3.0 |
masterfeizz/EDuke3D | source/lunatic/engine_maptext.lua | 1 | 14564 | -- MAPTEXT
-- Lunatic: routines for reading and writing map-text.
local ffi = require("ffi")
local ffiC = ffi.C
local assert = assert
local loadstring = loadstring
local pairs = pairs
local pcall = pcall
local print = print
local setfenv = setfenv
local tonumber = tonumber
local type = type
local readintostr = asser... | gpl-2.0 |
nyczducky/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 |
dtrip/awesome | tests/test-selection-transfer.lua | 2 | 7427 | -- Test the selection ownership and transfer API
local runner = require("_runner")
local spawn = require("awful.spawn")
-- Assemble data for the large transfer that will be done later
local large_transfer_piece = "a"
for _ = 1, 25 do
large_transfer_piece = large_transfer_piece .. large_transfer_piece
end
large_tr... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/mobskills/Flat_Blade.lua | 9 | 1360 | ---------------------------------------------
-- Flat Blade
--
-- Description: Stuns enemy. Chance of stunning varies with TP.
-- Type: Physical
-- Utsusemi/Blink absorb: Shadow per hit
-- Range: Melee
---------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts/globals/sett... | gpl-3.0 |
kurzalead/yalon | yalon/yalon.lua | 2 | 23881 | --[[
Copyright (c) 2016 kurzyx https://github.com/kurzyx
Licensed under MIT (https://github.com/kurzalead/yalon/blob/master/LICENSE.md)
----------------------------------------------------------------------------
YALON 1.00.00
Yet Another Lua Object Notation
]]
yalon = {}
local... | mit |
jbeich/Aquaria | files/scripts/maps/node_openenergydoor.lua | 12 | 1262 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
jbeich/Aquaria | files/scripts/entities/wisp.lua | 6 | 3458 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
jbeich/Aquaria | files/scripts/entities/darkjelly.lua | 6 | 4156 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ekki-Mokki.lua | 14 | 1061 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ekki-Mokki
-- Type: Standard NPC
-- @zone 94
-- @pos -26.558 -4.5 62.930
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
---... | gpl-3.0 |
guangbin79/Lua_5.1.5-iOS | luasocket-3.0-rc1/test/ftptest.lua | 26 | 3156 | local socket = require("socket")
local ftp = require("socket.ftp")
local url = require("socket.url")
local ltn12 = require("ltn12")
-- override protection to make sure we see all errors
--socket.protect = function(s) return s end
dofile("testsupport.lua")
local host, port, index_file, index, back, err, ret
local t ... | mit |
nyczducky/darkstar | scripts/zones/Selbina/npcs/Yaya.lua | 14 | 1465 | -----------------------------------
-- Area: Selbina
-- NPC: Yaya
-- Starts Quest: Under the sea
-- @pos -19 -2 -16 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/setti... | gpl-3.0 |
wenhulove333/ScutServer | Sample/ClientSource/samples/Lua/TestLua/Resources/luaScript/DrawPrimitivesTest/DrawPrimitivesTest.lua | 1 | 4050 |
local SceneIdx = -1
local MAX_LAYER = 2
local background = nil
local labelAtlas = nil
local baseLayer_entry = nil
local s = CCDirector:sharedDirector():getWinSize()
local function getBaseLayer()
local layer = CCLayer:create()
local item1 = CCMenuItemImage:create(s_pPathB1, s_pPathB2)
loca... | mit |
nyczducky/darkstar | scripts/zones/Northern_San_dOria/npcs/Abioleget.lua | 13 | 2388 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Abioleget
-- Type: Quest Giver (Her Memories: The Faux Pas and The Vicasque's Sermon) / Merchant
-- @zone 231
-- @pos 128.771 0.000 118.538
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria/npcs/Ashene.lua | 14 | 2287 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ashene
-- Standard Merchant NPC
-- @zone 230
-- @pos 70 0 61
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Mhaura/npcs/Explorer_Moogle.lua | 17 | 1876 | -----------------------------------
-- Area: Mhaura
-- NPC: Explorer Moogle
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/teleports");
... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Bastok/npcs/Blabbivix.lua | 14 | 1200 | -----------------------------------
-- Area: Port Bastok
-- NPC: Blabbivix
-- Standard merchant, though he acts like a guild merchant
-- @pos -110.209 4.898 22.957 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Ordelles_Caves/npcs/qm5.lua | 14 | 1434 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: ??? (qm5)
-- Involved In Quest: Dark Puppet
-- @pos -92 -28 -70 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
cliffano/swaggy-jenkins | clients/lua/generated/spec/pipeline_step_impllinks_spec.lua | 1 | 1181 | --[[
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.5.1-pre.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
]]
--[[
Unit tests for openapiclient.model.pipeline_step_impllinks
Automatically generated by open... | mit |
jbeich/Aquaria | files/scripts/maps/node_spawnli.lua | 6 | 1102 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/maps/node_spawnli.lua | 6 | 1102 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/splitter1.lua | 6 | 4379 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pelsey-Holsey.lua | 14 | 1065 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pelsey-Holsey
-- Type: Standard NPC
-- @zone 94
-- @pos 119.755 -4.5 209.754
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
moltafet35/senatorv2 | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/mobskills/Typhoon.lua | 34 | 1116 | ---------------------------------------------
-- Typhoon
--
-- Description: Spins around dealing damage to targets in an area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-4 shadows
-- Range: 10' radial
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
wenhulove333/ScutServer | Sample/ClientSource/samples/Lua/TestLua/Resources/luaScript/PerformanceTest/PerformanceSpriteTest.lua | 1 | 16575 | local kMaxNodes = 50000
local kBasicZOrder = 10
local kNodesIncrease = 250
local TEST_COUNT = 7
local s = CCDirector:sharedDirector():getWinSize()
-----------------------------------
-- For test functions
-----------------------------------
local function performanceActions(sprite)
sprite:setPosition(CCP... | mit |
nyczducky/darkstar | scripts/zones/Southern_San_dOria/npcs/Blendare.lua | 14 | 1949 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Blendare
-- Type: Standard NPC
-- @zone 230
-- @pos 33.033 0.999 -30.119
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-------... | gpl-3.0 |
jakianroy/NGUI_To_Be_Best | Assets/LuaFramework/ToLua/Lua/misc/utf8.lua | 15 | 8353 | local utf8 = {}
--byte index of the next char after the char at byte index i, followed by a valid flag for the char at byte index i.
--nil if not found. invalid characters are iterated as 1-byte chars.
function utf8.next_raw(s, i)
if not i then
if #s == 0 then return nil end
return 1, true --fake flag (doesn't ma... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Jeuno/npcs/Leyla.lua | 17 | 1514 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Leyla
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Acti... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/abilities/aspir_samba.lua | 25 | 1430 | -----------------------------------
-- Ability: Aspir Samba
-- Inflicts the next target you strike with Aspir daze, allowing all those engaged in battle with it to drain its MP.
-- Obtained: Dancer Level 25
-- TP Required: 10%
-- Recast Time: 1:00
-- Duration: 2:00
-----------------------------------
require("scripts/... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.