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 |
|---|---|---|---|---|---|
shakfu/start-vm | config/bullseye/awesome/rc.lua | 3 | 23404 | -- If LuaRocks is installed, make sure that packages installed through it are
-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
pcall(require, "luarocks.loader")
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout librar... | mit |
nasomi/darkstar | scripts/zones/North_Gustaberg/npcs/Cavernous_Maw_2.lua | 58 | 1887 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Cavernous Maw
-- @pos -78 -0.5 600 106
-- Teleports Players to Abyssea - Grauberg
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
nasomi/darkstar | scripts/globals/spells/katon_ichi.lua | 17 | 1249 | -----------------------------------------
-- Spell: Katon: Ichi
-- Deals fire damage to an enemy and lowers its resistance against water.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
--... | gpl-3.0 |
shakfu/start-vm | config/artful/awesome/vicious/widgets/mem_freebsd.lua | 4 | 2611 | -- {{{ Grab environment
local tonumber = tonumber
local setmetatable = setmetatable
local math = { floor = math.floor }
local helpers = require("vicious.helpers")
-- }}}
-- Mem: provides RAM and Swap usage statistics
-- vicious.widgets.mem_freebsd
local mem_freebsd = {}
-- {{{ Memory widget type
local function worke... | mit |
anthillsocial/bicrophonic1 | lib/direction.lua | 1 | 2615 | -- Swamp Bike Opera embedded system for Kaffe Matthews
-- Copyright (C) 2012 Wolfgang Hauptfleisch, Dave Griffiths
--
-- 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 3 of the ... | gpl-2.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/zamiec_shot_3.meta.lua | 6 | 2708 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 70,
light_colors = {
"81 183 236 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = false
},
offsets = ... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Pashhow_Marshlands_[S]/npcs/Indescript_Markings.lua | 19 | 1591 | -----------------------------------
-- Area: Pashhow Marshlands [S]
-- NPC: Indescript Markings
-- @pos -455 24 -364
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globa... | gpl-3.0 |
shangjiyu/luci-with-extra | applications/luci-app-transmission/luasrc/model/cbi/transmission.lua | 66 | 13028 | -- Copyright 2012 Gabor Varga <vargagab@gmail.com>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
require("luci.util")
require("luci.model.ipkg")
local uci = require "luci.model.uci".cursor()
local trport = uci:get_first("transmission", "transmission", "rpc_port") or 9091
local running = ... | apache-2.0 |
nasomi/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Stone_Monument.lua | 32 | 1299 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 320.755 -4.000 368.722 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
actboy168/YDWE | Development/Component/script/ydwe/w3x2lni/check_object.lua | 2 | 4372 | local root = fs.ydwe_devpath()
local w3xparser = require 'w3xparser'
local mpq = root / 'share' / 'zh-CN' / 'mpq'
local info = load(io.load(root / 'plugin' / 'w3x2lni' / 'script' / 'core' / 'info.lua'))()
local typedefine = {
aibuffer = 3,
armortype = 3,
attackbits = 0,
attacktype = 3,
... | gpl-3.0 |
emlyn/chdk | CHDK/LUALIB/uartr.lua | 5 | 1796 | --[[
Module to control UART redirection.
Creates A/UARTR.REQ as needed
DryOS only, requires native calls enabled
usage
uartr=require("uartr")
uartr.start([ filename[,replace] ])
... stuff that outputs to camera console, including Printf eventproc ...
uartr.stop()
if filename is omitted, the cameras auto... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Giddeus/npcs/qm1.lua | 17 | 1718 | -----------------------------------
-- Area: Giddeus
-- NPC: ???
-- Involved In Quest: Dark Legacy
-- @zone 145
-- @pos -58 0 -449
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/serving_of_black_pudding.lua | 36 | 1520 | -----------------------------------------
-- ID: 5552
-- Item: Serving of Black Pudding
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +5% Cap 25
-- Intelligence +4
-- HP Recovered while healing +1
-- MP Recovered while healing +1
------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Southern_San_dOria/npcs/Ceraule.lua | 36 | 1465 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ceraule
-- General Info NPC
-- @zone 230
-- @pos -86 2 -35
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
emlyn/chdk | CHDK/SCRIPTS/TEST/tstcallf.lua | 7 | 3592 | --[[
@title test native func interface
@param a 0 = event only 1 = unsafe!
@default a 0
--]]
logfile,msg=io.open("A/TSTCALLF.LOG","wb")
if not logfile then
error(msg)
end
fail_count = 0
function log(status,fmt,...)
local status_str
if status then
status_str=" OK\n"
else
status_str=" FAIL\n"
fail_count = fail... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/mobs/Eo_ghrah.lua | 20 | 2835 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- MOB: Eo'ghrah
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- OnMobSpawn Action
-- Set core Skin and mob elemental resist/weakness; other elements set to 0.
-- Set to non aggro.
------... | gpl-3.0 |
Maxsteam/99998888 | plugins/moderation.lua | 8 | 11563 | do
local function check_member(extra, success, result)
local data = extra.data
for k,v in pairs(result.members) do
if v.id ~= our_id then
data[tostring(extra.msg.to.id)] = {
moderators = {[tostring(v.id)] = v.username},
settings = {
set_name = string.gsub(extra.msg.to.print_name... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tohka_Telposkha.lua | 34 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tohka Telposkha
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--... | gpl-3.0 |
MatthewDwyer/botman | mudlet/profiles/newbot/scripts/triggers/llp.lua | 1 | 4579 | --[[
Botman - A collection of scripts for managing 7 Days to Die servers
Copyright (C) 2020 Matthew Dwyer
This copyright applies to the Lua source code in this Mudlet profile.
Email smegzor@gmail.com
URL http://botman.nz
Source https://bitbucket.org/mhdwyer/botman
--]]
fun... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Al_Zahbi/npcs/Numaaf.lua | 53 | 2294 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Numaaf
-- Type: Cooking Normal/Adv. Image Support
-- @pos 54.966 -7 8.328 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts... | gpl-3.0 |
MatthewDwyer/botman | mudlet/profiles/newbot/scripts/irc_functions.lua | 1 | 42772 | --[[
Botman - A collection of scripts for managing 7 Days to Die servers
Copyright (C) 2020 Matthew Dwyer
This copyright applies to the Lua source code in this Mudlet profile.
Email smegzor@gmail.com
URL http://botman.nz
Source https://bitbucket.org/mhdwyer/botman
--]]
-- ... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Heavens_Tower/npcs/Rakano-Marukano.lua | 19 | 2042 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Rakano-Marukano
-- Type: Immigration NPC
-- @pos 6.174 -1 32.285 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
-----------... | gpl-3.0 |
parsaghx/king | bot/king.lua | 1 | 15785 | 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")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
nasomi/darkstar | scripts/globals/weaponskills/sunburst.lua | 30 | 1295 | -----------------------------------
-- Sunburst
-- Staff weapon skill
-- Skill Level: 150
-- Deals light or darkness elemental damage. Damage varies with TP.
-- Aligned with the Shadow Gorget & Aqua Gorget.
-- Aligned with the Shadow Belt & Aqua Belt.
-- Element: Light/Dark
-- Modifiers: : STR:40% MND:40%
-- 1... | gpl-3.0 |
nasomi/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/Zone.lua | 28 | 1342 | -----------------------------------
--
-- Zone: The_Eldieme_Necropolis_[S] (175)
--
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Eldieme_Necropol... | gpl-3.0 |
irontec/Ikaszopa | ikaszopa/cocos2d/plugin/luabindings/auto/api/ProtocolAds.lua | 146 | 1442 |
--------------------------------
-- @module ProtocolAds
-- @extend PluginProtocol
-- @parent_module plugin
--------------------------------
-- brief show adview<br>
-- param info The information of adview will be shown<br>
-- Pay attention to the subclass definition<br>
-- param pos The position where the adview be s... | mit |
thesabbir/luci | protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua | 47 | 3995 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local encaps, atmdev, vci, vpi, username, password
local ipv6, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand, mtu
encaps = section:tabop... | apache-2.0 |
nasomi/darkstar | scripts/zones/Chamber_of_Oracles/mobs/Maat.lua | 27 | 1154 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Chamber_of_Oracles/TextIDs");
---------------------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/meat_mithkabob.lua | 35 | 1460 | -----------------------------------------
-- ID: 4381
-- Item: meat_mithkabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 60
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/bowl_of_medicinal_gruel.lua | 35 | 1505 | -----------------------------------------
-- ID: 4534
-- Item: bowl_of_medicinal_gruel
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 2
-- Ranged Accuracy % 15 (cap 15)
-- HP Recovered While Healing 4
-----------------------------------------
require("scr... | gpl-3.0 |
shakfu/start-vm | config/artful/awesome/vicious/contrib/buildbot_all.lua | 4 | 4999 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2012, Andrzje Bieniek <andyhelp@gmail.com>
---------------------------------------------------
-- {{{ Grab environment
local setmetatable = setmetatable
local pcall = pcall
local json_status, json = pcall(... | mit |
nasomi/darkstar | scripts/zones/Bastok_Mines/npcs/Griselda.lua | 34 | 1892 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Griselda
-- Standard Merchant NPC
-- @pos -25.749 -0.044 52.360 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("s... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Batallia_Downs/npcs/qm4.lua | 12 | 1621 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm4 (???)
--
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextIDs");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
VideahGams/discord.lua | discord/init.lua | 1 | 1440 | -- This code is licensed under the MIT Open Source License.
-- Copyright (c) 2015 Ruairidh Carmichael - ruairidhcarmichael@live.co.uk
-- 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 with... | mit |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/metropolis_torso_pistol_ptm_5.meta.lua | 2 | 2837 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.43000000715255737,
amplification = 140,
light_colors = {
"89 31 168 255",
"48 42 88 255",
"61 16 123 0"
},
radius = {
x = 80,
y = 80
},
standard_deviati... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Iron_Grate.lua | 17 | 2627 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Iron Grate
-- Type: Door
-- @pos 241.000 5.000 -20.000 111 : J-8
-- @pos 60.000 5.000 -359.000 111 : H-10
-- @pos 100.000 -15.000 159.000 111 : I-7
-- @pos -199.000 -35.000 -220.000 111 : G-9
-- @pos -20.000 -55.000 -41.000 111 ... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Pirvidiauce.lua | 36 | 1984 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pirvidiauce
-- Conquest depending medicine seller
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
cristiandonosoc/unexperiments | 01-Ecosystem/lib/hardon_collider/init.lua | 4 | 8981 | --[[
Copyright (c) 2011 Matthias Richter
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, publish, distribu... | mit |
cristiandonosoc/unexperiments | dotaoh/lib/hardon_collider/init.lua | 4 | 8981 | --[[
Copyright (c) 2011 Matthias Richter
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, publish, distribu... | mit |
exitunlimited/Exit-Unlimited | plugins/admin.lua | 381 | 7085 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
SudoHelper/SecurityBot | plugins/admin.lua | 381 | 7085 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | agpl-3.0 |
MZ597/Mz597 | plugins/admin.lua | 381 | 7085 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | agpl-3.0 |
nasomi/darkstar | scripts/globals/items/brass_loach.lua | 18 | 1330 | -----------------------------------------
-- ID: 5469
-- Item: Brass Loach
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity +2
-- Mind +4
-- Evasion +5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
OrenjiAkira/lua-html | lib/lux/term/ansicolors.lua | 2 | 2235 | -- Copyright (c) 2009 Rob Hoelz <rob@hoelzro.net>
-- Adapted by Wilson Kazuo Mizutani
--
-- 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 t... | mit |
PeterPan1990/kaggle-cifar10-torch7 | nin_model.lua | 4 | 1465 | require 'cunn'
require 'ccn2'
require './lib/SpatialAveragePooling'
-- Network in Network model
function nin_model() -- validate.lua Acc: 0.911
local model = nn.Sequential()
local final_mlpconv_layer = nil
-- MLP Convolution Layers
model:add(nn.Transpose({1,4},{1,3},{1,2}))
model:add(ccn2.S... | mit |
nasomi/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e3.lua | 17 | 1391 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Left) - Holla
-- @pos -239 -1 290 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
requ... | gpl-3.0 |
iuser99/BoL | Common/SidasAutoCarryPlugin - Darius.lua | 2 | 2954 | --[[
SAC Darius plugin
Credits to Lux for his Hemo counter
Version 1.2
- Converted to iFoundation_v2
LAST TESTED 8.12 WORKING MORE THEN PERFECT (INb4NERF)
--]]
require "iFoundation_v2"
local SkillQ = Caster(_Q, 425, SPELL_SELF)
local SkillW = Caster(_W, 145, SPELL_SELF)
local SkillE = Caster(_E, 540, SPELL_... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Lower_Jeuno/npcs/_l11.lua | 36 | 1549 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -9 0 12
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
ZuoGuocai/Atlas | lib/proxy/split.lua | 41 | 14816 | module("proxy.split", package.seeall)
--local table = require("proxy.table")
local crc = require("proxy.crc32")
local log = require("proxy.log")
local filter = require("proxy.filter")
local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance)
local config = require(config_file)
l... | gpl-2.0 |
nasomi/darkstar | scripts/globals/items/plate_of_squid_sushi.lua | 35 | 1598 | -----------------------------------------
-- ID: 5148
-- Item: plate_of_squid_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 30
-- Dexterity 6
-- Agility 5
-- Mind -1
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/tachi_kagero.lua | 30 | 1533 | -----------------------------------
-- Tachi Kagero
-- Great Katana weapon skill
-- Skill Level: 100
-- Deals fire elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget.
-- Aligned with the Flame Belt.
-- Element: Fire
-- Modifiers: STR:75%
-- 100%... | gpl-3.0 |
nasomi/darkstar | scripts/globals/mobskills/Glacier_Splitter.lua | 25 | 1081 | ---------------------------------------------
-- Glacier Splitter
--
-- Description: Cleaves into targets in a fan-shaped area. Additional effect: Paralyze
-- Type: Physical
-- Utsusemi/Blink absorb: 1-3 shadows
-- Range: Unknown cone
-- Notes: Only used the Aern wielding a sword (RDM, DRK, and PLD).
----... | gpl-3.0 |
JonasHaffky/programmiersprachen-raytracer | external/nanovg/premake4.lua | 16 | 6569 |
local action = _ACTION or ""
solution "nanovg"
location ( "build" )
configurations { "Debug", "Release" }
platforms {"native", "x64", "x32"}
project "nanovg"
language "C"
kind "StaticLib"
includedirs { "src" }
files { "src/*.c" }
targetdir("build")
defines { "_CRT_SECURE_NO_WARNINGS" } --,"FONS_U... | mit |
bmddota/barebones | game/dota_addons/barebones/scripts/vscripts/examples/projectile.lua | 17 | 2340 | require('libraries/projectiles')
local player = PlayerResource:GetPlayer(0)
local hero = player:GetAssignedHero()
local projectile = {
--EffectName = "particles/test_particle/ranged_tower_good.vpcf",
--EffectName = "particles/units/heroes/hero_lina/lina_spell_dragon_slave.vpcf",
EffectName = "particles/units/he... | apache-2.0 |
nasomi/darkstar | scripts/globals/weaponskills/spirit_taker.lua | 30 | 1443 | -----------------------------------
-- Spirit Taker
-- Staff weapon skill
-- Skill Level: 215
-- Converts damage dealt to own MP. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties.
-- It is a physi... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Cirdas_Caverns_U/Zone.lua | 36 | 1125 | -----------------------------------
--
-- Zone: Cirdas Caverns U
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Cirdas_Caverns_U/TextIDs"] = nil;
require("scripts/zones/Cirdas_Caverns_U/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
nasomi/darkstar | scripts/globals/mobskills/Crosswind.lua | 13 | 1055 | ---------------------------------------------
-- Crosswind
--
-- Description: Deals Wind damage to enemies within a fan-shaped area. Additional effect: Knockback
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
requir... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Carpenters_Landing/npcs/Logging_Point.lua | 29 | 1116 | -----------------------------------
-- Area: Carpenters Landing
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Carpenters_Landing/Text... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Selbina/npcs/Torapiont.lua | 34 | 1475 | -----------------------------------
-- Area: Selbina
-- NPC: Torapiont
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
---------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Chateau_dOraguille/npcs/Nachou.lua | 38 | 1046 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Nachou
-- Type: Standard NPC
-- @zone: 233
-- @pos -39.965 -3.999 34.292
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
---... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/resistance_torso_akimbo_walk_shot_4.meta.lua | 2 | 2840 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.40000000596046448,
amplification = 100,
light_colors = {
"223 113 38 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = fals... | agpl-3.0 |
nasomi/darkstar | scripts/globals/items/shall_shell.lua | 35 | 1338 | -----------------------------------------
-- ID: 4484
-- Item: shall_shell
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defense % 16.4
-----------------------------------------
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hashayra.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hashayra
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
CrescentCode/Drako | Language/neolexx.lua | 1 | 4192 | local lpeg = require 'lpeg'
local P, S, R, V, B = lpeg.P, lpeg.S, lpeg.R, lpeg.V, lpeg.B
local Ct, Cc, C = lpeg.Ct, lpeg.Cc, lpeg.C
--// Comments
local lcomment = P"//" * (1 - P"\n")^0
local mlcomment = P"/*" * (1 - P"*/")^0 * P"*/"
local comment = lcomment + mlcomment
--// Whitespace & Processing components
local... | mit |
OpenPrograms/payonel-Programs | psh/usr/lib/psh/daemon.lua | 1 | 1521 | local event = require("event")
local thread = require("thread")
local sockets = require("psh.socket")
local daemon = {
socket = false,
thread = false,
}
function daemon.close()
if daemon.socket then
daemon.socket:close()
daemon.socket = false
end
end
local function daemon_thread_proc()
local host =... | mit |
nasomi/darkstar | scripts/zones/Port_San_dOria/npcs/Ambleon.lua | 38 | 1046 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ambleon
-- Type: NPC World Pass Dealer
-- @zone: 232
-- @pos 71.622 -17 -137.134
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
---... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Temenos/mobs/Pee_Qoho_the_Python.lua | 16 | 1601 | -----------------------------------
-- Area: Temenos
-- NPC:
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- o... | gpl-3.0 |
hqren/Atlas | lib/rw-splitting.lua | 37 | 25587 | --[[ $%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 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/darkblue_fish_3.meta.lua | 16 | 1897 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 80,
light_colors = {
"0 139 161 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = false
},
offsets = {... | agpl-3.0 |
nasomi/darkstar | scripts/globals/effects/healing.lua | 32 | 1675 | -----------------------------------
--
-- EFFECT_HEALING
--
-- Activated through the /heal command
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
... | gpl-3.0 |
thesabbir/luci | applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua | 60 | 2067 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sys = require "luci.sys"
m = Map("freifunk_p2pblock", translate("P2P-Block"),
translate("P2P-Block is a greylisting mechanism to block various peer-to-peer protocols for non-whitelisted clients."))
s = ... | apache-2.0 |
nasomi/darkstar | scripts/globals/abilities/healers_roll.lua | 9 | 2928 | -----------------------------------
-- Ability: Healer's Roll
-- Increases potency of "Cure" effect received for party members within area of effect
-- Optimal Job: White Mage
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 20
--
-- Die Roll |No WHM |With WHM
-- -------- ------- -----------
-- 1 ... | gpl-3.0 |
aikon-com-cn/NoxicDB | other/calendar_events/Love is in the Air/Love is in the Air/quest_scripts.lua | 2 | 5025 | local QUEST_PERFECT_PERFUME = 24629
local QUEST_CLASSY_COLONGE = 24635
local QUEST_BONBON_BITZ = 24636
local QUEST_HOT_ON_THE_TRIAL_A = 24849
local QUEST_HOT_ON_THE_TRIAL_H = 24851
local QUEST_A_FRIENDLY_CHAT_H = 24576
local QUEST_A_FRIENDLY_CHAT_A = 24657
local SPELL_ROMANTIC_PICNIC = 45123
local SPELL_LUCKY_CHARM_COL... | agpl-3.0 |
coolflyreg/gs | server/lualib/agent/formations_handler.lua | 1 | 1429 | local skynet = require("skynet")
local handler = require("agent.handler")
local errorcode = require("protocols.errorcode")
local validator = require("protocols.validator")
local databases = require("db.databases")
local REQUEST = {}
handler = handler.new(REQUEST)
function REQUEST.formation_all()
error("<Request.e... | gpl-2.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004084.lua | 1 | 1333 | --BT4-075 Height of Mastery Son Goku
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,CHARACTER_SON_GOKU,SPECIAL_TRAIT_SAIYAN,SPECIAL_TRAIT_UNIVERSE_7,SPECIAL_TRAIT_GOKUS_LINEAGE,CHARACTER_INCLUDES_SON_GOKU,SPECIAL_TRAI... | gpl-3.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/applications/luci-wshaper/luasrc/model/cbi/wshaper.lua | 36 | 2050 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
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
]]--
r... | gpl-2.0 |
Wouterz90/SuperSmashDota | Game/scripts/vscripts/abilities/tinker.lua | 1 | 11357 | -- Blink Refresh -- After the blink you are silenced for a medium long duration
tinker_special_top = class({})
function tinker_special_top:OnAbilityPhaseStart()
if not self:GetCaster():CanCast(self) then return false end
if not self:IsCooldownReady() then return false end
local caster = self:GetCaster()
StartAn... | mit |
Hello23-Ygopro/ygopro-ds | expansions/script/c27002111.lua | 1 | 1461 | --BT2-100 Meta-Cooler
--Not fully implemented: [Auto] skill is supposed to trigger
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableLeaderAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_FRIEZA_CLAN,CHARACTER_METACOOLER)
--to battle
local e1=Effect.CreateEff... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Selbina/npcs/Quelpia.lua | 33 | 1707 | -----------------------------------
-- Area: Selbina
-- NPC: Quelpia
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
-----------... | gpl-3.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua | 78 | 1245 | --[[
Luci configuration model for statistics - collectd irq plugin configuration
(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 a... | gpl-2.0 |
ZuoGuocai/Atlas | examples/tutorial-inject.lua | 40 | 2480 | --[[ $%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 |
akornatskyy/lucid | src/validation/rules/bytes.lua | 1 | 1790 | local succeed = require 'validation.rules.succeed'
local setmetatable = setmetatable
local check_min = {__index = {
msg = 'Required to be a minimum of %d bytes in length.',
validate = function(self, value, model, translations)
if value and value:len() < self.min then
return translations:g... | mit |
nasomi/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Tome_of_Magic.lua | 38 | 1128 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Tome of Magic
-- Involved In Windurst Mission 7-2 (Optional Dialogue)
-- @pos 346 0 343 159 <many>
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
raburton/nodemcu-firmware | lua_examples/u8glib/u8g_rotation.lua | 19 | 2694 | -- ***************************************************************************
-- Rotation Test
--
-- This script executes the rotation features of u8glib to test their Lua
-- integration.
--
-- Note: It is prepared for SSD1306-based displays. Select your connectivity
-- type by calling either init_i2c_display() ... | mit |
appaquet/torch-android | src/3rdparty/nn/Replicate.lua | 43 | 1690 | local Replicate, parent = torch.class('nn.Replicate','nn.Module')
function Replicate:__init(nf, dim, ndim)
parent.__init(self)
self.nfeatures = nf
self.dim = dim or 1
self.ndim = ndim
assert(self.dim > 0, "Can only replicate across positive integer dimensions.")
end
function Replicate:updateOutput(inpu... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Windurst_Woods/npcs/Sola_Jaab.lua | 17 | 1557 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Sola Jaab
-- Involved in Quest: Riding on the Clouds
-- @zone 241
-- @pos 109 -5 -25
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
Gamerbude/Wasteland | mods/farming/hoes.lua | 9 | 1039 | farming.register_hoe(":farming:hoe_wood", {
description = "Wooden Hoe",
inventory_image = "farming_tool_woodhoe.png",
max_uses = 30,
material = "group:wood"
})
farming.register_hoe(":farming:hoe_stone", {
description = "Stone Hoe",
inventory_image = "farming_tool_stonehoe.png",
max_uses = 90,
material = "group... | gpl-3.0 |
appaquet/torch-android | src/3rdparty/nnx/Repeater.lua | 2 | 3317 | ------------------------------------------------------------------------
--[[ Repeater ]]--
-- Encapsulates an AbstractRecurrent instance (rnn) which is repeatedly
-- presented with the same input for nStep time steps.
-- The output is a table of nStep outputs of the rnn.
----------------------------------------------... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Oldton_Movalpolos/npcs/Treasure_Chest.lua | 19 | 3010 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Treasure Chest
-- @zone 11
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/bowl_of_cursed_soup.lua | 35 | 1602 | -----------------------------------------
-- ID: 4235
-- Item: Bowl of Cursed Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength -7
-- Dexterity -7
-- Agility -7
-- Vitality -7
-- Intelligence -7
-- Mind -7
-- Charisma -7
-----------------------------------------
... | gpl-3.0 |
shangjiyu/luci-with-extra | applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua | 61 | 2025 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sid = arg[1]
local utl = require "luci.util"
m = Map("radvd", translatef("Radvd - DNSSL"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and sends... | apache-2.0 |
thesabbir/luci | applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua | 61 | 2025 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sid = arg[1]
local utl = require "luci.util"
m = Map("radvd", translatef("Radvd - DNSSL"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and sends... | apache-2.0 |
nicholas-leonard/nn | MarginRankingCriterion.lua | 12 | 2070 | local MarginRankingCriterion, parent = torch.class('nn.MarginRankingCriterion', 'nn.Criterion')
function MarginRankingCriterion:__init(margin)
parent.__init(self)
margin=margin or 1
self.margin = margin
self.gradInput = {torch.Tensor(1), torch.Tensor(1)}
self.sizeAverage = true
end
function MarginRanki... | bsd-3-clause |
shangjiyu/luci-with-extra | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/openvpn.lua | 30 | 1359 | -- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require "luci.sys"
local m, s, o
m = Map("luci_statistics",
translate("OpenVPN Plugin Configuration"),
translate("The OpenVPN plugin gathers information about the current vpn connection status."))
s = m:se... | apache-2.0 |
nasomi/darkstar | scripts/zones/Lower_Jeuno/npcs/Guttrix.lua | 19 | 3766 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Guttrix
-- Starts and Finishes Quest: The Goblin Tailor
-- @zone: 245
-- @pos -36.010 4.499 -139.714
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
cristiandonosoc/unexperiments | 01-Ecosystem/lib/hardon_collider/vector-light.lua | 30 | 3067 | --[[
Copyright (c) 2012 Matthias Richter
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, publish, distribu... | mit |
aqasaeed/hesamjun | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
dani-sj/abbasdani | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
silver-des/silverbot | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
april-org/april-ann-tutorials | MNIST-utils/init.lua | 2 | 3110 | --[[
MNIST-CNNs APRIL-ANN tutorial
Copyright (C) 2014 Francisco Zamora-Martinez
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 3 of the License, or
(at your option) any l... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.