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 |
|---|---|---|---|---|---|
Scavenge/darkstar | scripts/zones/RoMaeve/mobs/Martinet.lua | 17 | 1706 | -----------------------------------
-- Area: RoMaeve
-- NM: Martinet
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
mob:setMob... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/FeiYin/npcs/Rukususu.lua | 14 | 1846 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Rukususu (talk to Cermet Door _no5 to trigger)
-- Type: Quest NPC
-- @pos -194.133 -0.986 191.077 204
-- Involved in quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle
-- Involved in Missions: Windurst 5-1/7-2/8-2
--... | gpl-3.0 |
PredatorMF/Urho3D | bin/Data/LuaScripts/46_RaycastVehicleDemo.lua | 11 | 17490 | -- Vehicle example.
-- This sample demonstrates:
-- - Creating a heightmap terrain with collision
-- - Constructing a physical vehicle with rigid bodies for the hull and the wheels, joined with constraints
-- - Saving and loading the variables of a script object, including node & component references
requi... | mit |
Scavenge/darkstar | scripts/zones/Altar_Room/npcs/Hooknox.lua | 14 | 1046 | -----------------------------------
-- Area: Altar Room
-- NPC: Hooknox
-- Type: Standard NPC
-- @zone 152
-- @pos -265.248 11.693 -102.547
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
------------------... | gpl-3.0 |
hdinsight/hue | tools/wrk-scripts/lib/argparse.lua | 22 | 26634 | -- The MIT License (MIT)
-- Copyright (c) 2013 - 2015 Peter Melnichenko
-- 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
--... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/qm2.lua | 14 | 1800 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: qm2 (???)
-- Involved In Quest: 20 in Pirate Years
-- @pos 47.852 -7.808 403.391 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Jeuno/npcs/Purequane.lua | 14 | 1398 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Purequane
-- @zone 246
-- @pos -76 8 54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("s... | gpl-3.0 |
ghoghnousteam/ghoghnous | plugins/steam.lua | 645 | 2117 | -- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI
do
local BASE_URL = 'http://store.steampowered.com/api/appdetails/'
local DESC_LENTH = 200
local function unescape(str)
str = string.gsub( str, '<', '<' )
str = string.gsub( str, '>', '>' )
str = string.gsub( str, '"', '"' )
str... | gpl-2.0 |
omidtarh/wezard | plugins/steam.lua | 645 | 2117 | -- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI
do
local BASE_URL = 'http://store.steampowered.com/api/appdetails/'
local DESC_LENTH = 200
local function unescape(str)
str = string.gsub( str, '<', '<' )
str = string.gsub( str, '>', '>' )
str = string.gsub( str, '"', '"' )
str... | gpl-2.0 |
omidtarh/botnew | plugins/steam.lua | 645 | 2117 | -- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI
do
local BASE_URL = 'http://store.steampowered.com/api/appdetails/'
local DESC_LENTH = 200
local function unescape(str)
str = string.gsub( str, '<', '<' )
str = string.gsub( str, '>', '>' )
str = string.gsub( str, '"', '"' )
str... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Lower_Jeuno/npcs/Bki_Tbujhja.lua | 6 | 4452 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Bki Tbujhja
-- Involved in Quest: The Old Monument
-- Starts and Finishes Quests: Path of the Bard (just start), The Requiem (BARD AF2)
-- @pos -22 0 -60 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua | 6 | 7313 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://w... | apache-2.0 |
Scavenge/darkstar | scripts/globals/items/dish_of_spaghetti_marinara_+1.lua | 12 | 1549 | -----------------------------------------
-- ID: 5720
-- Item: dish_of_spaghetti_marinara_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP % 15 (cap 130)
-- Vitality 2
-- Defense 6
-- Store TP 6
-- hHP +1
-----------------------------------------
require("scripts/globals/status");
-... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters/npcs/Lago-Charago.lua | 14 | 1483 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Lago-Charago
-- Type: Adventurer's Assistant
-- @pos -57.271 -11.75 92.503 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests"... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua | 76 | 1905 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Manuel Munz <freifunk at somakoma 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
]]--
local... | apache-2.0 |
Scavenge/darkstar | scripts/globals/items/talaria.lua | 30 | 1040 | -----------------------------------------
-- ID: 11403
-- Item: Talaria
-- Enchantment: Increases movement speed.
-- Durration: 60 Mins
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
GabrielGanne/vpp-flowtable | src/vpp-api/lua/examples/example-acl-plugin.lua | 7 | 3666 | --[[
/*
* Copyright (c) 2016 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Rolanberry_Fields_[S]/Zone.lua | 27 | 1293 | -----------------------------------
--
-- Zone: Rolanberry_Fields_[S] (91)
--
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Rolanberry_Fields_[S]/TextIDs");
------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/ascetics_fury.lua | 19 | 1736 | -----------------------------------
-- Ascetics Fury
-- Hand-to-Hand weapon skill
-- Skill Level: N/A
-- Chance of params.critical hit varies with TP. Glanzfaust: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Monk) quest.
-- Aligned with the Flame Gorget & Light Gorget.
-- Al... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/npcs/Taraihi-Perunhi.lua | 17 | 1709 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Taraihi-Perunhi
-- Only sells when Windurst controlls Derfland Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts/globa... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Bastok_Mines/npcs/Aulavia.lua | 17 | 1572 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Aulavia
-- Regional Marchant NPC
-- Only sells when Bastok controls Vollbow.
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["s... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/unit_commander_upgrade.lua | 3 | 20435 | function gadget:GetInfo()
return {
name = "Commander Upgrade",
desc = "",
author = "Google Frog",
date = "30 December 2015",
license = "GNU GPL, v2 or later",
layer = 1,
enabled = true -- loaded by default?
}
end
----------------------------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm1.lua | 14 | 1246 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm1 (???)
-- Involved In Quest: An Empty Vessel
-- @pos 238.524 2.661 -148.784 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dune... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Ifrits_Cauldron/Zone.lua | 8 | 2361 | -----------------------------------
--
-- Zone: Ifrits_Cauldron (205)
--
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Ifrits_Cauldron/Te... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/stick_of_pepperoni.lua | 12 | 1596 | -----------------------------------------
-- ID: 5660
-- Item: stick_of_pepperoni
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 3 (assuming 3% from testing, no known cap)
-- Strength 3
-- Intelligence -1
-- Attack % 60 (assuming 60%, cap 30)
-----------------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Temenos/mobs/Pee_Qoho_the_Python.lua | 28 | 1584 | -----------------------------------
-- Area: Temenos
-- NPC:
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- onMobSpaw... | gpl-3.0 |
ArchonTeam/Soft_TG | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Hall_of_the_Gods/npcs/_6z0.lua | 14 | 1780 | -----------------------------------
-- Area: Hall of the Gods
-- NPC: Cermet Gate
-- Gives qualified players access to Ru'Aun Gardens.
-- @pos 0 -12 48 251
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
----------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/rabbit_pie.lua | 12 | 1852 | -----------------------------------------
-- ID: 5685
-- Item: rabbit_pie
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Strength 5
-- Vitality 5
-- Attack 25% (caps @ 100)
-- Ranged Attack 25% (caps @ 100)
-- Defense 25% (caps @ 100)
-- Intelligence -2
-------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Quicksand_Caves/Zone.lua | 10 | 6759 | -----------------------------------
--
-- Zone: Quicksand_Caves (208)
--
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
mymedia2/GroupButler | plugins/private_settings.lua | 8 | 2604 | local config = require 'config'
local api = require 'methods'
local plugin = {}
local function get_button_description(key)
if key == 'rules_on_join' then
return _("When you join a group moderated by this bot, you will receive the group rules in private")
elseif key == 'reports' then
return _("... | gpl-2.0 |
Zomis/FactorioMods | visual-signals_1.1.0/prototypes/gui_signal_display_entity.lua | 1 | 4556 | data:extend({
{
type = "constant-combinator",
name = "gui-signal-display",
icon = "__visual-signals__/graphics/icons/constant-combinator.png",
icon_size = 32,
flags = {"placeable-neutral", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "gui-signal-display"},
max_h... | mit |
Scavenge/darkstar | scripts/zones/Xarcabard/npcs/Heavy_Bear_IM.lua | 14 | 3321 | -----------------------------------
-- Area: Xarcabard
-- NPC: Heavy Bear, I.M.
-- Type: Border Conquest Guards
-- @pos -133.678 -22.517 112.224 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua | 80 | 2136 | --[[
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... | apache-2.0 |
Scavenge/darkstar | scripts/globals/spells/dokumori_ni.lua | 26 | 1205 | -----------------------------------------
-- Spell: Dokumori: Ni
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_San_dOria/npcs/Bellue.lua | 17 | 1399 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Bellue
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
----... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | effects/theora.lua | 18 | 3147 | -- theora_pillar
-- transtheora_pillar
-- transtheora
-- theora
return {
["theora_pillar"] = {
rocks = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
water = true,
underwater ... | gpl-2.0 |
endlessm/chromium-browser | third_party/flatbuffers/src/tests/namespace_test/NamespaceA/TableInFirstNS.lua | 11 | 1873 | -- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: NamespaceA
local flatbuffers = require('flatbuffers')
local TableInFirstNS = {} -- the module
local TableInFirstNS_mt = {} -- the class metatable
function TableInFirstNS.New()
local o = {}
setmetatable(o, {__index = TableInF... | bsd-3-clause |
Zero-K-Experiments/Zero-K-Experiments | scripts/armca.lua | 9 | 4033 | include "constants.lua"
include "gunshipConstructionTurnHax.lua"
local base = piece 'base'
local body = piece 'body'
local engine1 = piece 'engine1'
local engine2 = piece 'engine2'
local nozzle = piece 'nozzle'
local nano = piece 'nano'
--New bits
local centreClaw = piece 'CentreClaw'
local centreClawBit = p... | gpl-2.0 |
mamaddeveloper/jjhw | libs/mimetype.lua | 3662 | 2922 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | gpl-2.0 |
MOSAVI17/ABCD | libs/mimetype.lua | 3662 | 2922 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | gpl-2.0 |
DEVSEIKO/seikodev | libs/mimetype.lua | 3662 | 2922 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Pellimie.lua | 14 | 1038 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pellimie
-- Type: Standard Dialogue NPC
-- @zone 231
-- @pos 145.459 0.000 131.540
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Nashmau/npcs/Wata_Khamazom.lua | 17 | 1494 | -----------------------------------
-- Area: Nashmau
-- NPC: Wata Khamazom
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Open_sea_route_to_Mhaura/npcs/Pashi_Maccaleh.lua | 17 | 1226 | -----------------------------------
-- Area: Open sea route to Mhaura
-- NPC: Pashi Maccaleh
-- Guild Merchant NPC: Fishing Guild
-- @zone 4.986 -2.101 -12.026 47
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/stoneskin.lua | 26 | 1405 | -----------------------------------------
-- Spell: Stoneskin
-----------------------------------------
-- http://wiki.ffxiclopedia.org/wiki/Stoneskin
-- Max 350 damage absorbed
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
--------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/pets/meteor_strike.lua | 28 | 1332 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
---------------------------------------------------
... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/armys_paeon_ii.lua | 27 | 1360 | -----------------------------------------
-- Spell: Army's Paeon II
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,ta... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_San_dOria/npcs/Callort.lua | 17 | 1400 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Callort
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
---... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/The_Shrine_of_RuAvitau/mobs/Defender.lua | 19 | 2481 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- MOB: Defender
-----------------------------------
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-----------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/plate_of_beef_paella.lua | 12 | 1562 | -----------------------------------------
-- ID: 5972
-- Item: Plate of Beef Paella
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 40
-- Strength 5
-- Intelligence -1
-- Attack % 18 Cap 90
-- Undead Killer 5
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/Docs/steps.lua | 1 | 6135 | -- steps.lua: rough rough draft. Please don't use until finalized.
-- ver 20100116
-- shakesoda is going to be making this more generic for use in rhythm.
local MetaTags = {
Title = {"Dyamite Rave","(transliteration)"},
Subtitle = {"Down Bird Sota Mix","(transliteration)"},
Artist = {"NAOKI","(transliteration)"},
... | mit |
Scavenge/darkstar | scripts/globals/weaponskills/sidewinder.lua | 16 | 1428 | -----------------------------------
-- Sidewinder
-- Archery weapon skill
-- Skill level: 175
-- Delivers an inparams.accurate attack that deals quintuple damage. params.accuracy varies with TP.
-- Aligned with the Aqua Gorget, Light Gorget & Breeze Gorget.
-- Aligned with the Aqua Belt, Light Belt & Breeze Belt.
-- El... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/unit_timeslow.lua | 4 | 8001 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Time slow v2",
desc = "Time slow Weapon",
author = "Google Frog , (MidKnight mad... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/withered_rolanberry.lua | 12 | 1197 | -----------------------------------------
-- ID: 5675
-- Item: Withered Rolanberry
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Intelligence 1
-- Agility -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
githubmereza/botnew | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
CubeSpaceCC/CubeOS-1.1 | .programs/Controller.lua | 1 | 1598 | local function check()
if turtle.getFuelLevel() < 5 then
turtle.select(16)
turtle.refuel(1)
turtle.select(1)
end
end
local function RoxSlave()
local run = 1
while run == 1 do
local scrap, message = rednet.receive()
if message == "MoveForward" then
check()
... | mit |
Scavenge/darkstar | scripts/globals/items/royal_omelette.lua | 12 | 3002 | -----------------------------------------
-- ID: 4564
-- Item: royal_omelette
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Dexterity 2
-- Intelligence -3
-- Mind 4
-- Attack % 20 (cap 65)
-- Ranged Attack % 20 (cap 65)
-----------------------------------------
-- IF ELVAA... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/mobskills/Wild_Rage.lua | 32 | 1142 | ---------------------------------------------
-- Wild Rage
--
-- Description: Deals physical damage to enemies within area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 15' radial
-- Notes: Has additional effect of Poison when used by King Vinegarroon.
------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Upper_Jeuno/npcs/Shiroro.lua | 17 | 1377 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Shiroro
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
------------... | gpl-3.0 |
nmacs/lm3s-uclinux | lib/liblua/LuaTwitter-0.9.2/twitter.lua | 1 | 63402 | ----------------------------------------------------------------------------------------------------------
-- Title: LuaTwitter.
-- Description: Lua client for Twitter API (visit http://apiwiki.twitter.com/ for API details).
-- Author: Kamil Kapron (kkapron@gmail.com, kamil@kkapron.com).
-- Version: 0.9.2 (2010-12-12)
... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/effects/chr_down.lua | 34 | 1105 | -----------------------------------
--
-- EFFECT_CHR_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_CHR) - effect:ge... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Ifrits_Cauldron/npcs/qm2.lua | 14 | 1449 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: qm2 (???)
-- Notes: Used to spawn Bomb Queen
-- @pos 18 20 -104 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextI... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Kazham/npcs/Popopp.lua | 17 | 3361 | -----------------------------------
-- Area: Kazham
-- NPC: Popopp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
-- item ... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/chickenr.lua | 3 | 4040 | unitDef = {
unitname = [[chickenr]],
name = [[Lobber]],
description = [[Artillery]],
acceleration = 0.36,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
buildPic = [[chickenr.png]],
build... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm18.lua | 57 | 2138 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm18 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- @pos -13.425,-1.176,191.669 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
Tkachov/scummvm | devtools/create_ultima/files/ultima6/scripts/common/actor.lua | 18 | 5252 | ALIGNMENT_DEFAULT = 0
ALIGNMENT_NEUTRAL = 1
ALIGNMENT_EVIL = 2
ALIGNMENT_GOOD = 3
ALIGNMENT_CHAOTIC = 4
HEAD = 0
NECK = 1
BODY = 2
ARM = 3
ARM_2 = 4
HAND = 5
HAND_2 = 6
FOOT = 7
g_combat_range_tbl = {
0, 1, 2, 3, 4, 5, 6, 7,
1, 1, 2, 3, 4, 5, 6, 7,
2, 2, 2, 3, 4, 5, 6, 7,
3, 3, 3, 4, 5, 6, 7, 7,
... | gpl-3.0 |
Arashbrsh/lifemaic | plugins/plugins.lua | 134 | 6165 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
ioiasff/yrew | bot/utils.lua | 494 | 23873 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
kirubz/Penlight | tests/test-tablex.lua | 8 | 4509 | local tablex = require 'pl.tablex'
local utils = require ('pl.utils')
local L = utils.string_lambda
local test = require('pl.test')
-- bring tablex funtions into global namespace
utils.import(tablex)
local asserteq = test.asserteq
local cmp = deepcompare
function asserteq_no_order (x,y)
if not compare_... | mit |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/weapon_projectile_radar_homing.lua | 4 | 2357 | function gadget:GetInfo()
return {
name = "Projectile Radar Homing",
desc = "Implements missile and starburst launcher homing on radar dots.",
author = "Google Frog",
date = "9 January 2016",
license = "GNU GPL, v2 or later",
layer = 0,
enabled = Spring.Utilities.... | gpl-2.0 |
Arashbrsh/lifemaic | plugins/groupmanager.lua | 1 | 11415 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "Hi For Creating Group You Have To Pay 3000 Tomans Join↙https://telegram.me/joinchat/CcMERQBXPDFrfm8dEiR7... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Isdebaaq.lua | 14 | 3622 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Isdebaaq
-- Type: Assault Mission Giver
-- @pos 127.565 0.161 -43.846 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/key... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/pets/attachments/mana_tank_ii.lua | 23 | 1171 | -----------------------------------
-- Attachment: Mana Tank II
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_MPP, 8);
end
function onUnequip(pet)
pet:delMod(... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/bowl_of_goulash.lua | 12 | 1554 | -----------------------------------------
-- ID: 5750
-- Item: bowl_of_goulash
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- VIT +3
-- INT -2
-- Accuracy +10% (cap 54)
-- DEF +10% (cap 30)
-----------------------------------------
require("scripts/globals/status");
---------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm7.lua | 9 | 1366 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm7 (???)
-- Spawns La Theine Liege
-- @pos 81.958 16.110 193.761 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade... | gpl-3.0 |
cyclonetm/XmakanX | plugins/welcome.lua | 12 | 3530 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm6.lua | 14 | 1347 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm6 (???)
-- Spawns Grandgousier
-- @pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/b.e.w._pitaru.lua | 12 | 1346 | -----------------------------------------
-- ID: 5892
-- Item: b.e.w._pitaru
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- MP +9% (cap 130)
-- Increases rate of magic skill gains by 80%
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
hughperkins/torch7 | test/test_sharedmem.lua | 58 | 2639 | require 'torch'
local tester = torch.Tester()
local tests = {}
local function createSharedMemStorage(name, size, storageType)
local storageType = storageType or 'FloatStorage'
local shmName = name or os.tmpname():gsub('/','_')
local isShared = true
local isSharedMem = true
local nElements = size or torch.ra... | bsd-3-clause |
1yvT0s/wax | examples/States (without wax.framework)/scripts/StatesTable.lua | 34 | 1447 |
waxClass{"StatesTable", UITableViewController, protocols = {"UITableViewDataSource", "UITableViewDelegate"}}
function init(self)
self.super:init()
-- Loads plist from bundle
self.states = NSArray:arrayWithContentsOfFile("states.plist")
self:setTitle("States")
return self
end
function viewDidLoad(self)
... | mit |
Scavenge/darkstar | scripts/zones/Apollyon/mobs/Na_Qba_Chirurgeon.lua | 28 | 2329 | -----------------------------------
-- Area: Apollyon CS
-- MOB: Na_Qba_Chirurgeon
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/limbus");
-----------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/strangeapparatus.lua | 21 | 7249 | -- Items
INFINITY_CORE = 1474;
local RED_CHIP = 474;
local BLUE_CHIP = 475;
local YELLOW_CHIP = 476;
local GREEN_CHIP = 477;
local CLEAR_CHIP = 478;
local PURPLE_CHIP = 479;
local WHITE_CHIP = 480;
local BLACK_CHIP = 481;
local FIRE_CLUSTER = 4104;
local ICE_CLUSTER = 4105;
local WIND_CLUSTER ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zasshal.lua | 14 | 1037 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zasshal
-- Type: Salvage
-- @pos 101.468 -1 -20.088 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/Te... | gpl-3.0 |
Arrkangel/ILoveRoguelikes | pathfind.lua | 1 | 2103 | require("world")
pathfind={}
local dirX={-1, 0, 1,-1,1,-1,0,1}
local dirY={-1,-1,-1, 0,0, 1,1,1}
local function newNode(x,y,parent,move)
local node={}
node.x=x
node.y=y
node.parent=parent
node.move=move
node.g=move
if parent then
node.g=parent.g+move
end
return node
end
local function getH(x1,y1,x2,y2)
r... | mit |
SHIELDTM/shield5 | plugins/getplugins.lua | 8 | 3798 | do
local function run(msg, matches)
if not is_sudo(msg) then
return "you have not accsess to filemanager"
end
local receiver = get_receiver(msg)
if matches[1] == 'بفرس' then
local file = matches[3]
if matches[2] == 'sticker' and not matches[4] then
send_document(receiver, "./media/"... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Al_Zahbi/npcs/Shayadar.lua | 14 | 1047 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Shayadar
-- Type: Gadalar's Attendant
-- @zone 48
-- @pos -107.177 -6.999 33.463
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Kazham/npcs/Balih_Chavizaai.lua | 17 | 1073 | -----------------------------------
-- Area: Kazham
-- NPC: Balih Chavizaai
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/MetalSpots/Lava And Two Hills.lua | 12 | 1160 | local layout = {
spots = {
{x = 201, z = 157, metal = 1.3195000886917},
{x = 601, z = 591, metal = 1.2950000762939},
{x = 1785, z = 132, metal = 0.77000004053116},
{x = 1000, z = 1148, metal = 1.3300000429153},
{x = 1447, z = 1456, metal = 2.1349999904633},
{x = 1866, z = 1861, metal = 2.1000001430511},
... | gpl-2.0 |
Dens0n/Conv_Music | midigen.lua | 1 | 1110 | local midi = require 'MIDI'
function generate(pattern, ...)
local arg = table.pack(...)
local score = {1000, {}}
local time = 0
--pattern = to_abs_time(pattern)
for k, frame in pairs(pattern) do
local tones = {}
for n=1, 88 do
if frame[n] ~= 0 then tones[#tones+1] = n end
end
for i, tone in pairs(t... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/npcs/Kopua-Mobua_AMAN.lua | 62 | 1375 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kopua-Mobua A.M.A.N.
-- Type: Mentor Recruiter
-- @pos -23.134 1.749 -67.284 241
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Castle_Oztroja/MobIDs.lua | 65 | 1606 | -----------------------------------
-- Area: Castle Oztroja (151)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
-- Mee_Deggi_the_Punisher
Mee_Deggi_the_Punisher=17395800;
Mee_Deggi_the_Punisher_PH={
[17395798] = '1', -- -207.840, -0.498, 109.939
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Lower_Jeuno/npcs/Yatniel.lua | 14 | 1942 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yatniel
-- Type: Standard NPC
-- @zone 245
-- @pos -66.817 -7 -126.594
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
----------------------... | gpl-3.0 |
xebecnan/UniLua | Assets/StreamingAssets/LuaRoot/test/closure.lua | 9 | 5368 | print "testing closures"
local A,B = 0,{g=10}
function f(x)
local a = {}
for i=1,1000 do
local y = 0
do
a[i] = function () B.g = B.g+1; y = y+x; return y+A end
end
end
local dummy = function () return a[A] end
collectgarbage()
A = 1; assert(dummy() == a[1]); A = 0;
assert(a[1]() == x)
... | mit |
Kyklas/luci-proto-hso | modules/admin-full/luasrc/model/cbi/admin_system/backupfiles.lua | 85 | 2658 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://w... | apache-2.0 |
Scavenge/darkstar | scripts/globals/weaponskills/realmrazer.lua | 24 | 1480 | -----------------------------------
-- Realmrazer
-- Club weapon skill
-- Skill Level: 357
-- Delivers a seven-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers: MND:73~... | gpl-3.0 |
zekus/dotfiles | config/nvim/lua/mappings.lua | 1 | 3353 | local opts = { noremap = true, silent = true }
vim.g.mapleader = ','
vim.keymap.set('', '<leader>c', '"+y') -- Copy to clipboard in normal, visual, select and operator modes
vim.keymap.set('n', '<C-l>', '<cmd>noh<CR>') -- Clear highlights
vim.keymap.set('n', '<leader>o', 'm`o<Esc>``') -- Insert a newline in normal m... | mit |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/items/fuuton_orb.lua | 1 | 1446 | --[[
Author: PicoleDeLimao
Date: 04.02.2016
Add fuuton damage when fuuton orb is equipped
]]
function Equip(event)
local caster = event.caster
local ability = event.ability
local fuutonDmg = ability:GetLevelSpecialValueFor("fuuton_damage_bonus", ability:GetLevel() - 1)
caster.numFuutonOrbs = (caster.numFuutonO... | apache-2.0 |
OpenPrograms/mpmxyz-Programs | home/lib/mpm/config.lua | 2 | 5463 | -----------------------------------------------------
--name : lib/mpm/config.lua
--description: simple reading and verification of config files
--author : mpmxyz
--github page: https://github.com/mpmxyz/ocprograms
--forum page : none
-----------------------------------------------------
local config = {}
-... | mit |
TeamFSIModding/FS17_Goweil_LT_Master | src/scripts/baleEviscerator.lua | 1 | 4421 | --
--Goweil LT Master
--
--fcelsa (Team FSI Modding)
--
--10/05/2017
BaleEviscerator = {};
BaleEviscerator.baleObject = nil;
BaleEviscerator.dir = g_currentModDirectory;
function BaleEviscerator:loadMap(name)
self.eviscerateSample = createSample("eviscerateSample");
loadSample(self.eviscerateSample, Utils.getF... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.