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/globals/weaponskills/gate_of_tartarus.lua | 19 | 2044 | -----------------------------------
-- Gate Of Tartarus
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's attack. Additional effect: Refresh
-- Refresh effect is 8mp/tick for 20 sec per 100 TP.
-- Available only when equipped with the Relic Weapons Thyrus (Dynamis use only) and Claustrum, or the Chthonic Sta... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/serving_of_beaugreen_sautee.lua | 12 | 1412 | -----------------------------------------
-- ID: 4572
-- Item: serving_of_beaugreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-- Ranged Acc % 7
-- Ranged Acc Cap 15
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/primal_rend.lua | 19 | 1759 | -----------------------------------
-- Primal Rend
-- Axe weapon skill
-- Skill Level: N/A
-- Deals light elemental damage. Damage varies with TP. Aymur: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Beastmaster) quest.
-- Aligned with the Shadow Gorget, Soil Gorget & Aqua Go... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Dynamis-Windurst/Zone.lua | 10 | 2581 | -----------------------------------
--
-- Zone: Dynamis-Windurst
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Windurst/TextIDs");
--------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/unit_state_icons.lua | 11 | 9720 | -------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "State Icons",
desc = "Shows movestate, firestate and priority icons",
author ... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters/npcs/Dienger.lua | 14 | 1055 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dienger
-- Type: Melody Minstrel
-- @zone 238
-- @pos -46.448 -6.312 212.384
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/scorpion.lua | 16 | 6997 | include "constants.lua"
include "spider_walking.lua"
--------------------------------------------------------------------------------
-- pieces
--------------------------------------------------------------------------------
local base = piece 'base'
local body = piece 'body'
local leg1 = piece 'leg1' -- back right
lo... | gpl-2.0 |
ramindel0761/tele_ir | plugins/banhammer.lua | 24 | 41763 | local function pre_process(msg)
if msg.to.type ~= 'pv' then
chat = msg.to.id
user = msg.from.id
local function check_newmember(arg, data)
test = load_data(_config.moderation.data)
lock_bots = test[arg.chat_id]['settings']['lock_bots']
local hash = "gp_lang:"..arg.chat_id
local lang = redis:get(hash)
if data... | gpl-3.0 |
taxler/radish | lua/parse/convert/to_utf8/from_utf32le_char.lua | 1 | 2014 |
local m = require 'lpeg'
local re = require 're'
local strbyte, strchar = string.byte, string.char
local bit = require 'bit'
local bor, band = bit.bor, bit.band
local lshift, rshift = bit.lshift, bit.rshift
return re.compile([[
result <- ascii7 / codepoint
ascii7 <- %ASCII7_CHAR ((%NULL_CHAR %NULL_CHAR %NULL_CHA... | mit |
GregSatre/capsules | torch/test_model.lua | 1 | 11524 | require 'nn'
require 'cutorch'
require 'cunn'
require 'load_dataset'
require 'IntensityScale'
require 'stn'
require 'optim'
require 'xlua'
require 'provider'
require 'image'
disp = require 'display'
----------------------------------------------------------------------
-- parse command line arguments
if not opt then
... | mit |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/StartBoxes/Adansonia v4.lua | 11 | 4381 | local boxes = {
[0] = {
boxes = {
{
{3669, 5960},
{2238, 5424},
{2257, 5473},
{2259, 5560},
{2261, 5628},
{2254, 5660},
{2182, 5796},
{2157, 5838},
{2124, 5860},
{2056, 5897},
{2006, 5945},
{1973, 5996},
{1938, 6072},
{1917, 6158},
{1916, 6221},
{194... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Kuu_Mohzolhi.lua | 25 | 3674 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Kuu Mohzolhi
-- Starts and Finishes Quest: Growing Flowers
-- @zone 231
-- @pos -123 0 80
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
SHIELDTM/shield5 | plugins/me.lua | 9 | 1186 |
local function action_by_reply(extra, success, result)
local hash = 'rank:'..result.to.id..':variables'
local text = ''
local value = redis:hget(hash, result.from.id)
if not value then
if result.from.id == tonumber(Arian) then
text = text..' مدیر کل ربات \n\n'
elseif is_admin2(result.from... | gpl-2.0 |
seblindfors/ConsolePort | ConsolePort/Widget/IndexButton/IndexButton.lua | 1 | 5214 | local _, db = ...;
local Fader = db('Alpha/Fader');
---------------------------------------------------------------
-- Intrinsic mixin
---------------------------------------------------------------
CPIndexButtonMixin = CreateFromMixins(BackdropTemplateMixin, {
IndexColors = {
Nofill = CreateColor(0, 0, 0, 0);
No... | artistic-2.0 |
PredatorMF/Urho3D | bin/Data/LuaScripts/28_Physics2DRope.lua | 2 | 8057 | -- Physics2D rope sample.
-- This sample demonstrates:
-- - Create revolute constraint
-- - Create roop constraint
-- - Displaying physics debug geometry
require "LuaScripts/Utilities/Sample"
function Start()
-- Execute the common startup for samples
SampleStart()
-- Create the scene content
... | mit |
Zero-K-Experiments/Zero-K-Experiments | units/armasp.lua | 1 | 2369 | unitDef = {
unitname = [[armasp]],
name = [[Air Repair/Rearm Pad]],
description = [[Repairs and Rearms Aircraft, repairs at 2.5 e/s per pad]],
acceleration = 0,
activateWhenBuilt = true,
brakeRate = 0,
buildCostEnergy = 350,
buildCostMetal = ... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Bhaflau_Thickets/npcs/_1g2.lua | 27 | 3573 | -----------------------------------
-- Area: Bhaflau Thickets
-- Door: Runic Seal
-- @pos -180 -6.8 -833 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/missilesilo_range.lua | 6 | 5647 |
function widget:GetInfo()
return {
name = "Missile Silo Range",
desc = "Displays the ranges of the missiles that the missile silo can produce",
author = "Google Frog",
date = "Dec 10, 2009", --updated May 3, 2015
license = "GNU GPL v2",
layer = 0,
enabled = true
}
end
-------... | gpl-2.0 |
helkarakse/LuaLibs | src/parser/rssParser.lua | 1 | 2264 | --[[
RSS Data Parser Version 1.0 Dev
Do not modify, copy or distribute without permission of author
Helkarakse, 20131128
]]
-- Libraries
os.loadAPI("xml")
os.loadAPI("functions")
-- Vars
local tagChannel
local parser = xml.XL:new()
-- Main Functions
-- Parses the xml string and outputs the table data
function pa... | mit |
Scavenge/darkstar | scripts/globals/items/balik_sis_+1.lua | 12 | 1666 | -----------------------------------------
-- ID: 5601
-- Item: Balik Sis +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Mind -2
-- Attack % 15
-- Attack Cap 70
-- Ranged ACC 2
-- Ranged ATT % 15
-- Ranged ATT Cap 70
-----------------------------------------
require("scr... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Walls/npcs/Chawo_Shipeynyo.lua | 14 | 1053 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Chawo Shipeynyo
-- Type: Standard NPC
-- @zone 239
-- @pos 3.593 -17 124.069
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/dish_of_spaghetti_carbonara_+1.lua | 12 | 1832 | -----------------------------------------
-- ID: 5199
-- Item: dish_of_spaghetti_carbonara_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 180
-- Magic 15
-- Strength 4
-- Vitality 2
-- Intelligence -3
-- Attack % 17
-- Attack Cap 70
-- Store TP 6
-------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Riverne-Site_B01/npcs/Spatial_Displacement.lua | 17 | 4838 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Spacial Displacement
-----------------------------------
-----------------------------------
-- onTrade
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrigger
----------------... | gpl-3.0 |
ihcfan/NautiPlot | hmi-cocos2d-x/external/lua/luajit/src/src/jit/dump.lua | 78 | 19502 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | gpl-2.0 |
haiderqwwq2/-haiderqwwq | plugins/replay.lua | 5 | 34884 | -- made by { @KINGTELE1 }
do
ws = {}
rs = {}
-- some examples of how to use this :3
ws[1] = "هلاو" -- msg
rs[1] = "هلاوو99وووات عيوني نورت/ي ❤️🙈" -- reply
ws[2] = "صادق" -- msg
rs[2] = "هذا الذيب عمي منو يلحكه😈✋️" -- reply
ws[3] = "شلونكم" -- msg
rs[3] = "اني بالنسبة اليه دايح شوف بقيه الاعضااء 😂🖕" -- reply
... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Nomad_Moogle.lua | 17 | 1068 | -----------------------------------
--
-- Nomad Moogle
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
-----------------------------------
-- onTrade Action
----------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Selbina/npcs/Tilala.lua | 14 | 1169 | -----------------------------------
-- Area: Selbina
-- NPC: Tilala
-- Guild Merchant NPC: Clothcrafting Guild
-- @pos 14.344 -7.912 10.276 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/mobskills/PL_Tidal_Slash.lua | 35 | 1100 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water damage in a threefold
-- attack to targets in a fan-shaped area of effect.
-- Type: Physical?
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Melee?
-- Notes: Used only by Merrows equipped with a spear.
-- If they lost their s... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l1.lua | 66 | 1350 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/garpike.lua | 12 | 1322 | -----------------------------------------
-- ID: 5472
-- Item: Garpike
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l2.lua | 66 | 1350 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l3.lua | 66 | 1350 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/pumpkin_pie.lua | 12 | 1340 | -----------------------------------------
-- ID: 4446
-- Item: pumpkin_pie
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 40
-- Agility -1
-- Intelligence 3
-- Charisma -2
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/effects/vit_down.lua | 34 | 1112 | -----------------------------------
--
-- EFFECT_VIT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_VIT) - effect:ge... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/npcs/Tapoh_Lihzeh.lua | 28 | 3551 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Tapoh Lihzeh
-- Starts & Finishes Repeatable Quest: Paying Lip Service
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("s... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Bastok_Markets/npcs/Svana.lua | 59 | 1040 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Svana
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");... | gpl-3.0 |
ihcfan/NautiPlot | hmi-cocos2d-x/samples/Lua/TestLua/Resources/luaScript/LuaBridgeTest/LuaBridgeTest.lua | 3 | 5843 | local targetPlatform = cc.Application:getInstance():getTargetPlatform()
local LINE_SPACE = 40
local itemTagBasic = 1000
local LuaBridgeTestsName =
{
"LuaJavaBridge",
"LuaObjectCBridge",
}
local s = cc.Director:getInstance():getWinSize()
local function LuaBridgeLayer()
local layer = cc.Layer:create()
... | gpl-2.0 |
HeinrichHartmann/nad | plugins/linux/bccbpf/lua/mod_biolatency.lua | 1 | 1953 | --
-- iolatency
--
-- based on biolatency.py
--
-- Metric 'sd' contains comulative statistics for all block devices
--
local ffi = require("ffi")
local circll = require("circll")
return {
text = [[
#include <uapi/linux/ptrace.h>
#include <linux/blkdev.h>
typedef struct disk_key {
char disk[DISK_NAME_LEN];
... | bsd-3-clause |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/gui_chili_keyboardmenu.lua | 4 | 32011 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Chili Keyboard Menu",
desc = "v0.035 Chili Keyboard Menu",
author = "CarRepairer",
... | gpl-2.0 |
yohanesyuen/mal | lua/step6_file.lua | 40 | 3471 | #!/usr/bin/env lua
local table = require('table')
local readline = require('readline')
local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local Env = require('env')
local core = require('core')
local List, Vector, HashMap = types.List, typ... | mpl-2.0 |
Scavenge/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mhasbaf.lua | 14 | 1044 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mhasbaf
-- Type: Standard NPC
-- @pos 54.701 -6.999 11.387 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_White... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/crawler_egg.lua | 12 | 1188 | -----------------------------------------
-- ID: 4357
-- Item: crawler_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/effects/addendum_black.lua | 65 | 2045 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:recalculateAbilitiesTable();
local bonus = effect:getPower();
local helix = effect:get... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/QuBia_Arena/bcnms/rank_5_mission.lua | 26 | 1985 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Mission Rank 5
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/QuBia_Arena/TextIDs");... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_3.lua | 29 | 2252 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: Sealed Entrance (Sealed_Entrance_3)
-- @pos -340.000 1.825 -364.825 95
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/ques... | gpl-3.0 |
PredatorMF/Urho3D | bin/Data/LuaScripts/19_VehicleDemo.lua | 11 | 16330 | -- 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
... | mit |
jdgwartney/truesightpulse-plugin-docker | init.lua | 3 | 6156 | -- Copyright 2015 Boundary, Inc.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to i... | apache-2.0 |
smanolache/kong | spec/integration/05-proxy/realip_spec.lua | 3 | 1618 | local spec_helper = require "spec.spec_helpers"
local http_client = require "kong.tools.http_client"
local stringy = require "stringy"
local cjson = require "cjson"
local utils = require "kong.tools.utils"
local IO = require "kong.tools.io"
local FILE_LOG_PATH = os.tmpname()
describe("Real IP", function()
setup(fun... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Sealions_Den/npcs/Jovial_Rat.lua | 14 | 1047 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Jovial Rat
-- Type: Past Event Watcher
-- @zone 32
-- @pos
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------... | gpl-3.0 |
hughperkins/torch7 | File.lua | 14 | 11126 | local File = torch.getmetatable('torch.File')
function File:writeBool(value)
if value then
self:writeInt(1)
else
self:writeInt(0)
end
end
function File:readBool()
return (self:readInt() == 1)
end
local TYPE_NIL = 0
local TYPE_NUMBER = 1
local TYPE_STRING = 2
local TYPE_TABLE = 3
l... | bsd-3-clause |
raymoo/artifice | spell/design_table.lua | 1 | 8756 |
local function revipairs(tab)
local end_i = #tab
local iterator = function(s, i)
if i == 1 then return end
return i - 1, tab[i - 1]
end
return iterator, nil, end_i + 1
end
-- Design table for spells
-- Parses a list of strings into a shape recipe. Returns success boolean, and
-- also an error string i... | gpl-3.0 |
lessthanoptimal/DeepBoof | network_training/torch/run_grid.lua | 1 | 6540 | require 'pl'
require 'trepl'
require 'torch' -- torch
require 'image' -- to visualize the dataset
require 'nn' -- provides all sorts of trainable modules/layers
require 'lfs'
require 'posix.sys.stat' -- luarocks install luaposix
----------------------------------------------------------------------
-- Adju... | apache-2.0 |
taxler/radish | packaging/extensions/platform_win32/lua/radish/mswindows/on_update.lua | 1 | 1165 |
local on_other_events = require 'radish.mswindows.on_other_events'
local selflib = require 'radish.mswindows.exports'
local on_update = {}
local thread_ids = {}
local threads_by_id = {}
on_other_events[selflib.WMRADISH_UPDATE] = function(_, message, wparam, lparam)
local ticks = wparam
for thread, id in pairs(thr... | mit |
Scavenge/darkstar | scripts/zones/Al_Zahbi/npcs/Opococo.lua | 14 | 1026 | ----------------------------------
-- Area: Al Zahbi
-- NPC: Opococo
-- Type: Item Deliverer
-- @zone 48
-- @pos -24.702 0 -139.982
--
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Nyzul_Isle/instances/path_of_darkness.lua | 11 | 2749 | -----------------------------------
--
-- TOAU-42: Path of Darkness
--
-----------------------------------
require("scripts/globals/instance")
require("scripts/globals/keyitems");
require("scripts/zones/Nyzul_Isle/IDs");
-----------------------------------
-- afterInstanceRegister
-----------------------------------
... | gpl-3.0 |
dani-sj/evilbot03 | plugins/ingroup.lua | 87 | 48801 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
fengshao0907/ABTestingGateway | admin/policy/check.lua | 22 | 2828 | local policyModule = require('abtesting.adapter.policy')
local redisModule = require('abtesting.utils.redis')
local systemConf = require('abtesting.utils.init')
local handler = require('abtesting.error.handler').handler
local utils = require('abtesting.utils.utils')
local ERRORINFO = require('ab... | mit |
1yvT0s/luvit | deps/stream/stream_readable.lua | 6 | 23793 | --[[
Copyright 2014 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Port_San_dOria/npcs/Eaugouint.lua | 17 | 1402 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Eaugouint
-- 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/globals/spells/bluemagic/healing_breeze.lua | 27 | 1754 | -----------------------------------------
-- Spell: Healing Breeze
-- Restores HP for party members within area of effect
-- Spell cost: 55 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 4
-- Stat Bonus: CHR+2, HP+10
-- Level: 16
-- Casting Time: 4.5 seconds
-- Recast Time: 15 seconds
--... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua | 17 | 1589 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Ezura-Romazura
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Windurst_Wa... | gpl-3.0 |
ghoghnousteam/ghoghnous | plugins/remind.lua | 279 | 1873 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
tempbottle/tundra | examples/generator-simple/tundra.lua | 7 | 2324 |
local common = {
Env = {
GENSCRIPT = "generate-file.py",
},
}
Build {
Units = function()
-- A rule to call out to a python file generator.
DefRule {
-- The name by which this rule will be called in source lists.
Name = "GenerateFile",
-- All invocations of this rule will run in this ... | gpl-3.0 |
kirubz/Penlight | lua/pl/lexer.lua | 13 | 14347 | --- Lexical scanner for creating a sequence of tokens from text.
-- `lexer.scan(s)` returns an iterator over all tokens found in the
-- string `s`. This iterator returns two values, a token type string
-- (such as 'string' for quoted string, 'iden' for identifier) and the value of the
-- token.
--
-- Versions specializ... | mit |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/mechanics/particles.lua | 1 | 3378 | --[[
Author: PicoleDeLiamo
Date: 07.23.2016
Define some particles wrapper functions
]]
if not Particles then
Particles = class({})
end
-- Create a timed particle
-- @param effectName: Path to the particle
-- @param target: Target where the particle will be displayed (can be either a unit or vector. if vector, ... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Scotwick.lua | 14 | 1079 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Scotwick
-- Type: Allied Notes Notorious Monsters
-- @zone 94
-- @pos 153.785 -3.134 9.895
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/Te... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/RaKaznar_Turris/Zone.lua | 32 | 1269 | -----------------------------------
--
-- Zone: Ra’Kanzar Turris (277)
--
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Turris/TextIDs");
----------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Rolanberry_Fields_[S]/npcs/Cavernous_Maw.lua | 27 | 2142 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- @pos -198 8 360 91
-- Teleports Players to Rolanberry Fields
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Darkwater/pwong | dlc.lua | 1 | 2579 | dlc_available = {
{
name = "Interface",
key = "1",
requires = {
points = 2,
breaks = {"Interface"}
},
costs = {
points = 2
},
onbuy = function (self)
local width, height, flags = love.window.getMode()
... | mit |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/heroes/orochimaru/edo_tobirama_suiton_suishoha.lua | 1 | 2026 | --[[
Author: PicoleDeLimao
Date: 10.24.2016
Implement Edo Tobirama Suiton Suishoha ability
]]
function SpellStart(event)
local caster = event.caster
local ability = event.ability
local target = event.target_points[1]
local range = ability:GetCastRange()
local damagePerInt = ability:GetLevelSpecialValueFor("dm... | apache-2.0 |
Scavenge/darkstar | scripts/globals/items/denizanasi.lua | 12 | 1325 | -----------------------------------------
-- ID: 5447
-- Item: Denizanasi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
RazorKitty/dotfiles | .config/awesome/playerctl/init.lua | 1 | 2760 | local setmetatable = setmetatable
local table = table
local callback_handler = require('playerctl.callback_handler')
local lgi = require('lgi')
local Playerctl = lgi.Playerctl
local wibox = require('wibox')
local playerctl = {
players = {},
property_callbacks = setmetatable({}, { __mode = 'k' }),
manage... | unlicense |
Scavenge/darkstar | scripts/globals/items/hellsteak.lua | 12 | 1920 | -----------------------------------------
-- ID: 5609
-- Item: hellsteak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- hMP +1
-- Attack % 18 (cap 145)
-- Ranged ATT % 18 (cap 145)
-- Dragon Killer 5
----------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/equanimity.lua | 26 | 1140 | -----------------------------------
-- Ability: Equanimity
-- Your next black magic spell will generate less enmity.
-- Obtained: Scholar Level 75
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------- ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/TextIDs.lua | 5 | 6319 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6544; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>
GIL_OBTAINED = 6545; -- O... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Jeuno/npcs/Digaga.lua | 14 | 1039 | ----------------------------------
-- Area: Port Jeuno
-- NPC: Digaga
-- Type: Item Deliverer
-- @zone 246
-- @pos -52.865 7.999 1.134
--
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-------------------------------... | gpl-3.0 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/playlist/youtube_homepage.lua | 113 | 1897 | --[[
Parse YouTube homepage and browse pages. Next step is to recode firefox
in VLC ... using Lua of course ;)
$Id$
Copyright © 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software F... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l0.lua | 22 | 1502 | -----------------------------------
-- Area: Spire of Mea
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/mission... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/slice_of_juicy_mutton.lua | 12 | 1390 | -----------------------------------------
-- ID: 4335
-- Item: slice_of_juicy_mutton
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Upper_Jeuno/npcs/Osker.lua | 17 | 3016 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Osker
-- Involved in Quest: Chocobo's Wounds
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requi... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/gear_sets.lua | 13 | 27960 | -----------------------------------
-- Gear sets
-- Allows the use of gear sets with modifiers
-----------------------------------
require("scripts/globals/status");
-----------------------------------
local matchtype = {
any = 0,
earring_weapon = 1,
weapon_weapon = 2
}
-- placeholder for unkno... | gpl-3.0 |
jchuang1977/openwrt | package/lean/luci-app-filetransfer/luasrc/model/cbi/filetransfer.lua | 2 | 4119 | local fs = require "luci.fs"
local http = luci.http
ful = SimpleForm("upload", translate("Upload"), nil)
ful.reset = false
ful.submit = false
sul = ful:section(SimpleSection, "", translate("Upload file to '/tmp/upload/'"))
fu = sul:option(FileUpload, "")
fu.template = "filetransfer/other_upload"
um = sul:option(Dummy... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Temenos/mobs/Proto-Ultima.lua | 23 | 1651 | -----------------------------------
-- Area: Temenos
-- MOB: Proto-Ultima
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/limbus");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:SetMagicC... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/mobskills/Nerve_Gas.lua | 28 | 1063 | ---------------------------------------------
-- Nerve Gas
--
-- Description: Inflicts curse and powerful poison effect.
-- Type: Magical
-- Wipes Shadows
-- Range: 10' Radial
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-freifunk-widgets/luasrc/controller/freifunk/widgets.lua | 78 | 1124 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 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 |
Kyklas/luci-proto-hso | 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... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Metalworks/npcs/Chantain.lua | 14 | 1062 | -----------------------------------
-- Area: Metalworks
-- NPC: Chantain
-- Type: Consulate Representative
-- @zone 237
-- @pos 21.729 -17 -30.888
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("sc... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Mhaura/npcs/Ekokoko.lua | 14 | 1644 | -----------------------------------
-- Area: Mhaura
-- NPC: Ekokoko
-- Gouvernor of Mhaura
-- Involved in Quest: Riding on the Clouds
-- @pos -78 -24 28 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems")... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua | 17 | 1395 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Metalloid_Amoeba
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/West_Sarutabaruta_[S]/TextIDs.lua | 7 | 1235 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6385; -- Obtained: <item>.
GIL_OBTAINED = 6386; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6388; -- Obtained... | gpl-3.0 |
cromo/ludum-dare-37 | main.lua | 1 | 22120 | local assets = require 'assets'
local live = require 'live'
local lume = require 'lume'
local planes = require 'planes'
local sprites = require 'sprites'
local sti = require 'sti'
local flux = require 'flux'
local player = require("player")
local f = lume.lambda
local trace = lume.trace
local update = 'dt'
local pre... | mit |
BlockMen/minetest_next | mods/default/nodes/torch.lua | 1 | 3162 | minetest.register_craftitem("default:torch", {
description = "Torch",
inventory_image = "default_torch.png",
wield_image = "default_torch.png",
wield_scale = {x = 1, y = 1, z = 1 + 1/16},
liquids_pointable = false,
groups = {fuel = 3},
on_place = function(itemstack, placer, pointed_thing)
local above = poin... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/subraider.lua | 1 | 5760 | unitDef = {
unitname = [[subraider]],
name = [[Seawolf]],
description = [[Attack Submarine (Stealth Raider)]],
acceleration = 0.1,
activateWhenBuilt = true,
brakeRate = 0.2,
buildCostEnergy = 600,
buildCostMetal = 600,... | gpl-2.0 |
Kyklas/luci-proto-hso | applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua | 50 | 1867 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Copyright 2010 Manuel Munz <freifunk@somakoma.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Li... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Balgas_Dais/bcnms/shattering_stars.lua | 27 | 2096 | -----------------------------------
-- Area: Balga's Dais
-- Name: Shattering stars - Maat Fight
-- @pos 299 -123 345 146
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/ques... | gpl-3.0 |
mortezamosavy999/monsterTG | 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 |
SHIELDTM/shield5 | 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 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/npcs/An_Polaali.lua | 17 | 1110 | -----------------------------------
-- Area: Windurst Woods
-- NPC: An Polaali
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/campaign.lua | 35 | 4763 |
-----------------------------------------------------------------
-- Variable for getNationTeleport and getPoint
-----------------------------------------------------------------
ALLIED_NOTES = 11;
MAW = 4;
PAST_SANDORIA = 5;
PAST_BASTOK = 6;
PAST_WINDURST = 7;
-- ---------------------------------------------------... | gpl-3.0 |
kankaristo/premake-core | tests/actions/vstudio/vc2010/test_filter_ids.lua | 9 | 2428 | --
-- tests/actions/vstudio/vc2010/test_filter_ids.lua
-- Validate generation of filter unique identifiers.
-- Copyright (c) 2011-2012 Jason Perkins and the Premake project
--
local suite = test.declare("vs2010_filter_ids")
local vc2010 = premake.vstudio.vc2010
--
-- Setup/teardown
--
local wks, prj
function s... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.