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 |
|---|---|---|---|---|---|
b03605079/darkstar | scripts/zones/Abyssea-Uleguerand/Zone.lua | 32 | 1548 | -----------------------------------
--
-- Zone: Abyssea - Uleguerand
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abys... | gpl-3.0 |
chanko08/KillerLibrarian | instructionsdialog.lua | 2 | 1776 | local class =require 'lib/hump/class'
local Level = require 'level'
local InstructionsDialog = class({})
function InstructionsDialog:init()
self.title_font = love.graphics.newFont('assets/ohwhy.ttf', 48)
self.font = love.graphics.newFont('assets/ohwhy.ttf', 24)
self.small = love.graphics.newFont('assets/o... | mit |
b03605079/darkstar | scripts/globals/effects/vit_down.lua | 19 | 1091 | -----------------------------------
--
-- EFFECT_VIT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if((target:getStat(MOD_VIT) - effect... | gpl-3.0 |
Aquanim/Zero-K | effects/unused_chloe.lua | 25 | 1910 | -- chloe
return {
["chloe"] = {
glow = {
air = true,
class = [[CSimpleParticleSystem]],
count = 20,
ground = true,
water = true,
properties = {
airdrag = 1,
colormap = [[1 0.... | gpl-2.0 |
phcosta29/rstats | lib/socket/url.lua | 13 | 11105 | -----------------------------------------------------------------------------
-- URI parsing, composition and relative URL resolution
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
--------------------------------------------------------------... | gpl-3.0 |
ZuoGuocai/Atlas | examples/tutorial-monitor.lua | 40 | 5362 | --[[ $%BEGINLICENSE%$
Copyright (c) 2008, 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 |
hughperkins/poc-sparse-feature-maps | test2.lua | 1 | 2649 | -- might as well start in lua first....
-- this tensor is 'per-plane', so each plane is fully dense, 2d, but we have a lookup table for the planes we
-- are actually storing. all other planes are zero.
-- this is just one of many possible sparse representations. good points are:
-- - we can continue to use stndard... | bsd-2-clause |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/modules/admin-mini/luasrc/model/cbi/mini/network.lua | 82 | 6273 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
cmouse/pdns | pdns/recursordist/contrib/kv-example-script.lua | 6 | 1885 |
--[[
This implements a two-step domain filtering solution where the status of an IP address
and a domain name need to be looked up.
To do so, we use the udpQuestionResponse answers which generically allows us to do asynchronous
lookups via UDP.
Such lookups can be slow, but they won't block PowerDNS while we wait for ... | gpl-2.0 |
cristiandonosoc/unexperiments | dotaoh/lib/hump/vector-light.lua | 9 | 3560 | --[[
Copyright (c) 2012-2013 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, dis... | mit |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/resistance_torso_heavy_gtm_1.meta.lua | 2 | 2771 | 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 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/controller/admin/index.lua | 79 | 1245 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
mod... | gpl-2.0 |
nasomi/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm5.lua | 27 | 1615 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm5 "???"
-- Involved in Quests: Steamed Rams
-- @pos 380.015 -26.5 -22.525
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua | 38 | 1026 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Eumoa-Tajimoa
-- Type: Standard NPC
-- @zone: 48
-- @pos 19.275 -1 55.182
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j0.lua | 19 | 1390 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos 299 0.1 349 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
thesabbir/luci | modules/luci-base/luasrc/tools/webadmin.lua | 59 | 2301 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.tools.webadmin", package.seeall)
local util = require "luci.util"
local uci = require "luci.model.uci"
local ip = require "luci.ip"
func... | apache-2.0 |
akornatskyy/lucid | spec/demos/routing_spec.lua | 1 | 2048 | local request = require 'http.functional.request'
local writer = require 'http.functional.response'
local describe, it, assert = describe, it, assert
local function test_cases(app)
assert.not_nil(app)
it('responds with absolute url for user', function()
local paths = {'/en/user/123', '/de/user/234'}
for _, path... | mit |
nasomi/darkstar | scripts/zones/Spire_of_Mea/bcnms/ancient_flames_backon.lua | 17 | 3854 | -----------------------------------
-- Area: Spire_of_Mea
-- Name: ancient_flames_backon
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/g... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Woods/npcs/Millerovieunet.lua | 17 | 1535 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Millerovieunet
-- Only sells when Windurst controlls Qufim Region
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
shakfu/start-vm | config/artful/awesome/vicious/widgets/mdir_all.lua | 4 | 1330 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) Maildir Biff Widget, Fredrik Ax
---------------------------------------------------
-- {{{ Grab environment
local io = { popen = io.popen }
local setmetatable... | mit |
TeamHypersomnia/Augmentations | hypersomnia/default_config.lua | 1 | 20311 | return {
launch_on_game_start = "MAIN_MENU",
log_to_live_file = false,
server_list_provider = {
address = "masterserver.hypersomnia.xyz",
default_port = 8420
},
nat_detection = {
packet_interval_ms = 5,
port_probing = {
num_available = 30,
num_probed_for_detection = 3,
host = {
... | agpl-3.0 |
RhenaudTheLukark/CreateYourFrisk | Assets/Mods/Examples/Lua/Encounters/#09 - Revive test.lua | 1 | 1622 | -- A basic encounter script skeleton you can copy and modify for your own creations.
-- music = "shine_on_you_crazy_diamond" --Either OGG or WAV. Extension is added automatically. Uncomment for custom music.
encountertext = "Kill yourself and revive!" --Modify as necessary. It will only be read out in the action selec... | gpl-3.0 |
blankoworld/quinoa | lib/rope.lua | 1 | 1400 | -- rope.lua
-- found here: http://lua-users.org/wiki/LuaRopes
--[[ QUICK HOWTO ]]--
--t,x = rope(),rope()
--t:push (string.upper) "m" "r" (string.char) (32) "Smith" ;
--x:push [[ Good ]] [[morning]];
--t:push (x)
--t:walk(io.write) --> Mr Smith Good morning
--print(t:flatten()) --> Mr Smith Good morning
do
local fu... | agpl-3.0 |
Wouterz90/SuperSmashDota | Game/scripts/vscripts/gamemode.lua | 1 | 32084 | -- Basic values
Laws = {
flJumpSpeed = 35,
flJumpDuration = 20/32,
flJumpDeceleration = 0.925,
flDropAcceleration = 1.015,
flDropSpeed = 40,
flMove = 16,
flPushDeceleration = 0.5, -- 0.5 per second
flMinDamage = 4,
flMaxDamage = 8,
flAttackRange = 130,
flSideAttackFactor = 2,
flMaxHeig... | mit |
thesabbir/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua | 29 | 3928 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local util = require "nixio.util"
local has_fscheck = fs.access("/usr/sbin/e2fsck")
local block = io.popen("block info", "r")
local ln, dev, devices = nil, nil, {}
repeat
ln =... | apache-2.0 |
nasomi/darkstar | scripts/globals/items/himesama_rice_ball.lua | 51 | 1477 | -----------------------------------------
-- ID: 5928
-- Item: Himesama Rice Ball
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- HP +25
-- Dexterity +4
-- Vitality +4
-- Character +4
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Attack +60
-- De... | gpl-3.0 |
nasomi/darkstar | scripts/globals/spells/bluemagic/frypan.lua | 28 | 1783 | -----------------------------------------
-- Spell: Frypan
-- Delivers an area attack. Additional effect: "Stun." Accuracy varies with TP
-- Spell cost: 65 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+2
-- Level: 63
-- Casting Time: 1 seconds
-- Recas... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Lutete.lua | 38 | 1110 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Lutete
-- Type: Standard NPC
-- @zone: 94
-- @pos 169.205 -0.879 -9.107
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/toadal_recall.lua | 19 | 1479 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: toadal_recall BCNM30
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ozzmo-Mazmo.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ozzmo-Mazmo
-- Type: Standard NPC
-- @zone: 94
-- @pos -61.677 -13.311 106.400
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pihra_Rhebenslo.lua | 36 | 4463 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Pihra_Rhebenslo
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/a... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Rabao/npcs/Dancing_Wolf.lua | 19 | 1645 | -----------------------------------
-- Area: Rabao
-- NPC: Dancing Wolf
-- Type: Standard NPC
-- @zone: 247
-- @pos 7.619 7 81.209
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
actboy168/YDWE | Development/Component/plugin/w3x2lni/script/core/map-builder/save.lua | 3 | 2971 | local w3xparser = require 'w3xparser'
local lang = require 'lang'
local function build_imp(w2l, output_ar, imp_buf)
local impignore = {}
for _, name in ipairs(w2l.info.pack.impignore) do
impignore[name] = true
end
for _, name in pairs(w2l.info.obj) do
impignore[name] = true
end
... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Quicksand_Caves/npcs/qm2.lua | 17 | 1245 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: qm2
-- Notes: Used to spawn Tribunus VII-I
-- @pos -49.944 -0.891 -139.485 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Port_Windurst/npcs/Machu-Kuchu.lua | 34 | 1123 | -----------------------------------
-- Area: Port Windurst
-- Machu-Kuchu
-- Warps players to Windurst Walls
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Windurst/TextIDs");
------------------... | gpl-3.0 |
nico57c/love2d-lualib | Tools/Container.lua | 1 | 1269 | -- Tools/Container.lua
module("Ncr7.tContainer", package.seeall)
require "Tools/Object"
require "Tools/Register"
local Container = {}
function Container.initialize()
local obj = { register=Ncr7.tRegister.new() }
local container = Ncr7.tObject.New._object(Container, obj)
container.register:createRegister('Co... | mit |
nasomi/darkstar | scripts/zones/Horlais_Peak/bcnms/shattering_stars.lua | 19 | 2368 | -----------------------------------
-- Area: Horlais Peak
-- Name: Shattering stars - Maat Fight
-- @pos -509 158 -211 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/ques... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/pear_crepe.lua | 36 | 1325 | -----------------------------------------
-- ID: 5777
-- Item: Pear Crepe
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Intelligence +2
-- MP Healing +2
-- Magic Accuracy +5
-- Magic Defense +1
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
lipp/tango | tango/utils/serialization.lua | 1 | 1808 | local tinsert = table.insert
local tconcat = table.concat
local tremove = table.remove
local smatch = string.match
local sgmatch = string.gmatch
local sgsub = string.gsub
local ipairs = ipairs
local pairs = pairs
local type = type
local tostring = tostring
local tonumber = tonumber
local loadstring = loadstring
local p... | mit |
nasomi/darkstar | scripts/zones/Giddeus/npcs/Quu_Bokye.lua | 19 | 1876 | -----------------------------------
-- Area: Giddeus
-- NPC: Quu Bokye
-- Involved in Quest: Dark Legacy
-- @pos -159 16 181 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Giddeus/TextIDs");
-------------------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/plate_of_ikra_gunkan_+1.lua | 35 | 1733 | -----------------------------------------
-- ID: 5220
-- Item: plate_of_ikra_gunkan_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Magic 12
-- Dexterity 3
-- Mind -1
-- Accuracy % 17
-- Accuracy Cap 30
-- Ranged ACC % 17
-- Ranged ACC Cap 30
------------------... | gpl-3.0 |
aplatanado/conky_colors | conkycolors/scripts/conkyBoard.lua | 7 | 31806 | --[[
-- This code is mostly by londonali1010, mrpeachy, VinDSL, Wlourf and SLK
-- Conky-Colors by helmuthdu
-- license : Distributed under the terms of GNU GPL version 2 or later
]]
require 'cairo'
-------------------------------------------------------------------------------
-- ... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Cape_Teriggan/npcs/relic.lua | 38 | 1841 | -----------------------------------
-- Area: Cape Terrigan
-- NPC: <this space intentionally left blank>
-- @pos 73 4 -174 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Cape_Teriggan/TextIDs");
---------... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/orange_fish_5.meta.lua | 16 | 1592 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 80,
light_colors = {
"255 102 0 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 5
},
generate_desaturation = false
},
offsets = {... | agpl-3.0 |
Liath/cooldown-barker | CDBmain.lua | 1 | 9975 | --Set things up
CDB = {};
CDB.panel = CreateFrame( "Frame" );
CDB.panel:RegisterEvent("PLAYER_ENTERING_WORLD");
if not CDBsettings then CDBsettings = {}; end
SLASH_CDB1="/cdb";
function SlashCmdList.CDB(msg, editbox)
if not CDB.Initialzed then CDB.Initialize(); end;
if (string.len(msg) == 0) then
local fun... | gpl-2.0 |
nasomi/darkstar | scripts/zones/QuBia_Arena/mobs/Archlich_Taber_quoan.lua | 27 | 4133 | -----------------------------------
-- Area: Qu'Bia Arena
-- NM: Archlich Taber'quoan
-- Mission 5-1 BCNM Fight
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
e... | gpl-3.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua | 78 | 1344 | --[[
Luci configuration model for statistics - collectd dns 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 |
nasomi/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/_5ia.lua | 19 | 2623 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Strange Apparatus
-- @pos: 375 20 -259 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
require("scripts/zones/Maze_of_Shakhrami/TextIDs");
require("scripts/globals/strangeapparatus");
-----... | gpl-3.0 |
EricssonResearch/scott-eu | simulation-ros/src/turtlebot2i/turtlebot2i_description/v-rep_model/warehouse_scene/vrep_scripts/Scene_Builder_training.lua | 1 | 6197 | --**************************
-- Scene builder
-- @author Klaus Raizer
-- @date 2019-01-30
-- PROGRAMATICALLY ADD COMPONENTS TO YOUR SCENE
--**************************
function sysCall_init()
-- Initialization ------------------------
--sim.setBoolParameter(sim.boolparam_display_enabled,false)-- Disables rende... | apache-2.0 |
kenyh0926/DBProxy | examples/tutorial-monitor.lua | 4 | 5491 | --[[ $%BEGINLICENSE%$
Copyright (c) 2008, 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 |
Etehadmarg/margbot | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
nasomi/darkstar | scripts/zones/The_Shrouded_Maw/bcnms/waking_dreams.lua | 19 | 2489 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: waking_dreams
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/q... | gpl-3.0 |
Gamerbude/Wasteland | mods/hud/init.lua | 2 | 1091 | -------------------------------------------------------------------------
-- Wasteland
-- Copyright (C) 2015 BlockMen <blockmen2015@gmail.de>
--
-- This file is part of Wasteland
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as publish... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iya.lua | 19 | 1539 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: Gate of the Gods
-- @pos -20 0.1 -283 34
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs")... | gpl-3.0 |
shakfu/start-vm | config/artful/awesome/rc.lua | 1 | 22520 | -- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = require("naughty")
local menubar = req... | mit |
nasomi/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/Grounds_Tome.lua | 34 | 1144 | -----------------------------------
-- Area: Shrine of Ru'Avitau
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onT... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/vorpal_blade.lua | 30 | 1435 | -----------------------------------
-- Vorpal Blade
-- Sword weapon skill
-- Skill Level: 200
-- Delivers a four-hit attack. Chance of params.critical varies with TP.
-- Stacks with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
--... | gpl-3.0 |
shakfu/start-vm | config/base/awesome/vicious/widgets/thermal.lua | 12 | 1527 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
---------------------------------------------------
-- {{{ Grab environment
local type = type
local tonumber = tonumber
local setmetatable = setmetatable
local string =... | mit |
shangjiyu/luci-with-extra | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua | 18 | 2897 | -- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.nut",package.seeall)
function rrdargs( graph, plugin, plugin_instance, dtype )
local voltages = {
title = "%H: Voltages on UPS \"%pi\"",
vlabel = "V",
number_format = "%5.1lfV",
data = {
instances = {
... | apache-2.0 |
nasomi/darkstar | scripts/zones/Windurst_Walls/npcs/Yoriri.lua | 38 | 1403 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Yoriri
-- Type: Standard NPC
-- @pos 65.268 -8.5 -58.309 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/gradobicie_shell.meta.lua | 4 | 2831 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 70,
light_colors = {
"171 196 255 255",
"129 177 230 255",
"171 196 255 255",
"208 220 249 255",
"0 255 240 255",
"0 229 255 255"
},
radius... | agpl-3.0 |
hqren/Atlas | lib/admin-bak.lua | 37 | 3379 | --[[ $%BEGINLICENSE%$
Copyright (c) 2008, 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 |
nasomi/darkstar | scripts/globals/spells/bluemagic/dimensional_death.lua | 28 | 1767 | -----------------------------------------
-- Spell: Dimensional Death
-- Damage varies with TP
-- Spell cost: 48 MP
-- Monster Type: Undead
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 5
-- Stat Bonus: DEX+1, CHR+1, HP+5
-- Level: 60
-- Casting Time: 0.5 seconds
-- Recast Time: 23.75 seconds
-- Skil... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/bowl_of_sutlac.lua | 36 | 1315 | -----------------------------------------
-- ID: 5577
-- Item: Bowl of Sutlac
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- INT +1
-- MP Recovered while healing +2
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Cloister_of_Flames/bcnms/trial-size_trial_by_fire.lua | 19 | 2053 | -----------------------------------
-- Area: Cloister of Flames
-- BCNM: Trial-size Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/glo... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/jellyfish_8.meta.lua | 28 | 1948 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 90,
light_colors = {
"20 248 255 255",
"3 216 255 255",
"23 78 234 255"
},
radius = {
x = 60,
y = 60
},
standard_deviation = 8
},
... | agpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/jellyfish_1.meta.lua | 28 | 1948 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 90,
light_colors = {
"20 248 255 255",
"3 216 255 255",
"23 78 234 255"
},
radius = {
x = 60,
y = 60
},
standard_deviation = 8
},
... | agpl-3.0 |
nasomi/darkstar | scripts/globals/ability.lua | 11 | 15594 | -----------------------------------
--
-- ABILITIES
--
-----------------------------------
ABILITY_MIGHTY_STRIKES = 0;
ABILITY_HUNDRED_FISTS = 1;
ABILITY_BENEDICTION = 2;
ABILITY_MANAFONT = 3;
ABILITY_CHAINSPELL = 4;
ABILITY_PERFECT_DODGE = 5;
ABILITY_... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/serving_of_beaugreen_sautee.lua | 35 | 1419 | -----------------------------------------
-- ID: 4572
-- Item: serving_of_beaugreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-- Ranged ATT % 7
-- Ranged ATT Cap 15
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
EricssonResearch/scott-eu | simulation-ros/src/turtlebot2i/turtlebot2i_description/v-rep_model/warehouse_scene/vrep_scripts/turtlebot2i.lua | 1 | 16722 | -- Adjust circle size
function setCirlceSize_cb(msg)
--Since 'setObjectSize' doesn't work, we have to use 'Scale', so we need to record the previous scale.
--BUG: if the size is not changed (or just slightly changed), the following code will waste calculation power.
critical_scale = msg.critical_zone_radius... | apache-2.0 |
nasomi/darkstar | scripts/globals/mobskills/Cross_Reaver.lua | 25 | 1030 | ---------------------------------------------
-- Cross Reaver
--
-- Description: Deals high damage to players in a fan-shaped area. Additional effect: Stun
-- Type: Physical
-- ? ? ? (No data offered)
-- Range: Melee
-- Special weaponskill unique to Ark Angel HM. Deals ~500-900 damage.
--------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Qufim_Island/npcs/Nightflowers.lua | 17 | 1530 | -----------------------------------
-- Area: Qufim Island
-- NPC: Nightflowers
-- Involved in Quest: Save My Son (Beastmaster Flag #1)
-- @pos -264.775 -3.718 28.767 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Sauromugue_Champaign_[S]/npcs/Cavernous_Maw.lua | 16 | 2224 | -----------------------------------
-- Area: Sauromugue Champaign [S]
-- NPC: Cavernous Maw
-- @pos 369 8 -227 98
-- Teleports Players to Sauromugue_Champaign
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Port_San_dOria/npcs/Teilsa.lua | 34 | 1795 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Teilsa
-- Adventurer's Assistant
-- Only recieving Adv.Coupon and simple talk event are scrited
-- This NPC participates in Quests and Missions
-------------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
... | gpl-3.0 |
dageq/Dage-Aliraqi | plugins/ar-image.lua | 1 | 1600 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY Dage Aliraqi ▀▄ ▄▀
▀▄ ▄▀ BY Dage Aliraqi (@dageq) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY Dage Aliraqi ▀▄ ▄▀
▀▄ ▄▀ Image converter : تحويل صورة ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
parsaghx/king | plugins/addp.lua | 3 | 1238 |
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
return false
end
local function disable_plugin( name, chat )
local k = plugin_enabled(name)
if not k then
return
end
table.remove(_config.enabled_plugins, k)
save_con... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Mordion_Gaol/Zone.lua | 32 | 1433 | -----------------------------------
--
-- Zone: Mordion_Gaol
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Mordion_Gaol/TextIDs"] = nil;
require("scripts/zones/Mordion_Gaol/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 37 | 1316 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Caiphimonride
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
---------... | gpl-3.0 |
mlem/wesnoth | data/ai/micro_ais/cas/ca_return_guardian.lua | 26 | 1081 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local function get_guardian(cfg)
local filter = cfg.filter or { id = cfg.id }
local guardian = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", filter }
}[1]
return guardian
end
local ca_return_guardian = {}
function ca... | gpl-2.0 |
shangjiyu/luci-with-extra | applications/luci-app-radvd/luasrc/model/cbi/radvd/prefix.lua | 61 | 3557 | -- 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 - Prefix"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and send... | apache-2.0 |
Aerotenna/APM_OcPoC_Zynq | Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua | 96 | 29666 |
--[[
KAP UAV Exposure Control Script v3.1
-- Released under GPL by waterwingz and wayback/peabody
http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script
3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot.
Changelog:
-Modified Tv, Av, and... | gpl-3.0 |
irboy/000LOGIN000 | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
thesabbir/luci | applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua | 79 | 1554 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("coovachilli")
-- radius server
s1 = m:section(TypedSection, "radius")
s1.anonymous = true
s1:option( Value, "radiusserver1" )
s1:option( Value, "rad... | apache-2.0 |
nasomi/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Duke_Berith.lua | 16 | 1289 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Duke Berith
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
------------... | gpl-3.0 |
shangjiyu/luci-with-extra | applications/luci-app-statistics/luasrc/statistics/rrdtool.lua | 12 | 16110 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool", package.seeall)
require("luci.statistics.datatree")
require("luci.statistics.rrdtool.colors")
require("luci.statistics.i18n")
require("luci.model.uci")
requi... | apache-2.0 |
soumith/convnet-benchmarks | torch7/imagenet_winners/overfeat.lua | 1 | 1390 | function overfeat_fast(lib)
local SpatialConvolution = lib[1]
local SpatialMaxPooling = lib[2]
local ReLU = lib[3]
local SpatialZeroPadding = nn.SpatialZeroPadding
local features = nn.Sequential()
features:add(SpatialConvolution(3, 96, 11, 11, 4, 4))
features:add(ReLU(true))
features:add(Spatia... | mit |
nasomi/darkstar | scripts/zones/Newton_Movalpolos/Zone.lua | 30 | 1704 | -----------------------------------
--
-- Zone: Newton_Movalpolos (12)
--
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Newton_Movalpolos/TextIDs");
-------... | gpl-3.0 |
srush/OpenNMT | onmt/utils/MemoryOptimizer.lua | 3 | 6378 | --[[ MemoryOptimizer is a class used for optimizing memory usage
--]]
local MemoryOptimizer = torch.class('MemoryOptimizer')
-- We cannot share the output of these modules as they use it in their backward pass.
local protectOutput = {
'nn.Sigmoid',
'nn.SoftMax',
'nn.Tanh'
}
-- We cannot share the input of these... | mit |
hughperkins/poc-sparse-feature-maps | test1.lua | 1 | 13219 | -- might as well start in lua first....
-- this tensor is 'per-plane', so each plane is fully dense, 2d, but we have a lookup table for the planes we
-- are actually storing. all other planes are zero.
-- this is just one of many possible sparse representations. good points are:
-- - we can continue to use stndard... | bsd-2-clause |
nasomi/darkstar | scripts/globals/items/pestle.lua | 41 | 1123 | -----------------------------------------
-- ID: 18599
-- Item: Pestle
-- Additional effect: MP Drain
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
fun... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/slice_of_salted_hare.lua | 35 | 1198 | -----------------------------------------
-- ID: 5737
-- Item: slice_of_salted_hare
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/dil.lua | 18 | 1253 | -----------------------------------------
-- ID: 5457
-- Item: Dil
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/slice_of_hare_meat.lua | 18 | 1321 | -----------------------------------------
-- ID: 4358
-- Hare Meat
-- 5 Minutes, food effect, Galka Only
-----------------------------------------
-- Strength +1
-- Intelligence -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
coolflyreg/gs | 3rd/lua-cjson/tests/test.lua | 32 | 17977 | #!/usr/bin/env lua
-- Lua CJSON tests
--
-- Mark Pulford <mark@kyne.com.au>
--
-- Note: The output of this script is easier to read with "less -S"
local json = require "cjson"
local json_safe = require "cjson.safe"
local util = require "cjson.util"
local function gen_raw_octets()
local chars = {}
for i = 0, ... | gpl-2.0 |
ElectronicWar/obs-studio | UI/frontend-plugins/frontend-tools/data/scripts/instant-replay.lua | 23 | 5385 | obs = obslua
source_name = ""
hotkey_id = obs.OBS_INVALID_HOTKEY_ID
attempts = 0
last_replay = ""
----------------------------------------------------------
function try_play()
local replay_buffer = obs.obs_frontend_get_replay_buffer_output()
if replay_buffer == nil then
obs.remove_current_callback()... | gpl-2.0 |
nasomi/darkstar | scripts/globals/items/margherita_pizza.lua | 35 | 1220 | -----------------------------------------
-- ID: 5695
-- Item: margherita_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Attack 10
-- Health Points 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
rdococ/rmod | digigrate.lua | 1 | 3770 | local function calculate_dec (value)
-- Our mission: convert a user-provided value (how open the grate should be),
-- into a dec value (how much the water should decrease when it flows through a grate).
-- 0 -> 8 = 2^3
-- 50% -> 4 = 2^2
-- 100% -> 2 = 2^1
local max = 100 -- atm
local dec = max - value -- 0-50... | unlicense |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/metropolis_torso_rifle_shot_1.meta.lua | 2 | 2784 | 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 |
sqow/strap-on | example/main.lua | 1 | 1599 | local StrapOn = require '../strap-on'
local a
local b
local c
-- Main functions
function love.load( arg )
-- Will be continuously called
-- Showcases the flow of callbacks (pre, _, and post)
a = StrapOn.strap({
counter = 1
})
function a.preupdate( ... )
print( 'a.preupdate' )
end
funct... | mit |
nasomi/darkstar | scripts/zones/Norg/npcs/Gilgamesh.lua | 19 | 2316 | -----------------------------------
-- Area: Norg
-- NPC: Gilgamesh
-- @pos 122.452 -9.009 -12.052 252
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if (player:g... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.