repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
m241dan/darkstar | scripts/globals/spells/bluemagic/blitzstrahl.lua | 1 | 1898 | -----------------------------------------
-- Spell: Blitzstrahl
-- Deals lightning damage to an enemy. Additional effect: "Stun"
-- Spell cost: 70 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+3
-- Level: 44
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 se... | gpl-3.0 |
santssoft/darkstar | scripts/globals/weaponskills/backhand_blow.lua | 10 | 1389 | -----------------------------------
-- Backhand Blow
-- Hand-to-Hand weapon skill
-- Skill Level: 100
-- Deals params.critical damage. Chance of params.critical hit varies with TP.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: None
-- Modifiers: STR:30% DEX:30%
-- 100%TP 200%TP ... | gpl-3.0 |
sayeed99/kali-nethunter | nethunter-installer/update/system/bin/lualibs/mf_default_keys.lua | 7 | 5016 |
local _keys = {
--[[
These keys are from the pm3 c-codebase.
--]]
'ffffffffffff', -- Default key (first key used by program if no user defined key)
'000000000000', -- Blank key
'a0a1a2a3a4a5', -- NFCForum MAD key
'b0b1b2b3b4b5',
'aabbccddeeff',
'4d3a99c351dd',
'1a982c7e... | gpl-2.0 |
hylthink/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/cocos2d/DeprecatedCocos2dEnum.lua | 21 | 16802 |
--Enums will be deprecated,begin
_G.kCCTextAlignmentLeft = cc.TEXT_ALIGNMENT_LEFT
_G.kCCTextAlignmentRight = cc.TEXT_ALIGNMENT_RIGHT
_G.kCCTextAlignmentCenter = cc.TEXT_ALIGNMENT_CENTER
_G.kCCVerticalTextAlignmentTop = cc.VERTICAL_TEXT_ALIGNMENT_TOP
_G.kCCVerticalTextAlignment... | mit |
m241dan/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm10.lua | 13 | 1364 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm10 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -139.895 -5.500 154.513 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
ducseb/domoticz | scripts/dzVents/runtime/TimedCommand.lua | 5 | 2481 | local scriptPath = _G.globalvariables['script_path']
package.path = package.path .. ';' .. scriptPath .. '?.lua'
local utils = require('Utils')
-- generic 'switch' class with timed options
-- supports chainging like:
-- switch(v1).for_min(v2).after_sec/min(v3)
-- switch(v1).within_min(v2).for_min(v3)
-- switch(v1)... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Cape_Teriggan/npcs/Cermet_Headstone.lua | 13 | 4123 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Wind Headstone)
-- @pos -107 -8 450 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
camchenry/super_shooter | entities/ui/checkbox.lua | 1 | 2250 | Checkbox = class('Checkbox')
function Checkbox:initialize(text, x, y, w, h, fontSize, activated, deactivated)
self.text = text
self.font = fontSize or font[22]
self.x = x
self.y = y -- This centers it on the line
self.width = w or 32
self.height = h or 32
self.textHeight = self.font:getHeight(self.text)
self... | mit |
m241dan/darkstar | scripts/zones/Quicksand_Caves/npcs/_5s8.lua | 13 | 1253 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -334 0 659 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Abyssea-Uleguerand/Zone.lua | 33 | 1487 | -----------------------------------
--
-- Zone: Abyssea - Uleguerand
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Ulegue... | gpl-3.0 |
hylthink/Sample_Lua | frameworks/cocos2d-x/external/lua/luajit/src/src/jit/bc.lua | 78 | 5606 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
m241dan/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pelftrix.lua | 13 | 1245 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pelftrix
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Windurst_Waters_[... | gpl-3.0 |
dvr333/Zero-K | LuaUI/Widgets/gfx_bloom_shader.lua | 6 | 17756 | function widget:GetInfo()
return {
name = "Bloom Shader",
desc = "Sets Spring In Bloom",
author = "Floris", -- orginal bloom shader: Kloot
date = "24-9-2016",
license = "",
layer = 9,
enabled = false,
}
end
----------------------------------------------------------------------... | gpl-2.0 |
dvr333/Zero-K | LuaRules/Configs/unit_category.lua | 6 | 1146 |
local hardcodedOthers = {
staticmissilesilo = true,
cloakjammer = true,
amphtele = true,
gunshiptrans = true,
gunshipheavytrans = true,
planescout = true
}
local function GetUnitCategory(unitDefID)
local ud = UnitDefs[unitDefID]
local cp = ud.customParams
local name = ud.name
if cp.dontcount or cp.is_dron... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Metalworks/npcs/Cid.lua | 9 | 12304 | -----------------------------------
-- Area: Metalworks
-- NPC: Cid
-- Starts & Finishes Quest: Cid's Secret, The Usual, Dark Puppet (start), Shoot First, Ask Questions Later
-- Involved in Mission: Bastok 7-1
-- !pos -12 -12 1 237
-----------------------------------
require("scripts/globals/keyitems")
require("script... | gpl-3.0 |
RyUkApples/DarkRP | darkrp/server/player/login.lua | 1 | 12980 | -- Loading MySQL Class
require "resources/mysql-async/lib/MySQL"
telist = {}
local countItems = MySQL.Sync.fetchScalar("SELECT COUNT(1) FROM items")
RegisterServerEvent("darkrp:deleteTelist")
AddEventHandler("darkrp:deleteTelist", function(source)
TriggerEvent('darkrp:getPlayerFromId', source, function(user)
if (... | mit |
ch3n2k/luci | modules/base/luasrc/ccache.lua | 82 | 1863 | --[[
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
ht... | apache-2.0 |
m241dan/darkstar | scripts/globals/mobskills/Dark_Wave.lua | 33 | 1185 | ---------------------------------------------
-- Dark Wave
--
-- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' radial
-- Notes: Severity of Bio effect varies by time of day, from 8/tic at... | gpl-3.0 |
dvr333/Zero-K | effects/gundam_330rlexplode.lua | 6 | 5722 | -- 330rlexplode
-- 165rlexplode
local baseExplode = {
dirt = {
count = 4,
ground = true,
properties = {
alphafalloff = 2,
color = [[0.2, 0.1, 0.05]],
pos = [[r-10 r10, 0, r-10 r10]],
size = 22,
speed ... | gpl-2.0 |
grrk-bzzt/kq-fork | scripts/dville.lua | 1 | 12295 | -- dville - "Denorian village southeast of Oracle's tower"
-- /*
-- {
-- progress.denorian: Status of the stolen statue
-- (0) You just got there; statue is gone
-- (1) If you refuse after you hear their plea, you are kicked out of town
-- (2) You've agreed to help
-- (3) You found Demnas (but not the troll)
-... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Carpenters_Landing/mobs/Cryptonberry_Assassin.lua | 9 | 1485 | -----------------------------------
-- Area: Carpenters' Landing
-- NM: Cryptonberry Assassin
-- !pos 120.615 -5.457 -390.133 2
-----------------------------------
local ID = require("scripts/zones/Carpenters_Landing/IDs")
mixins = {require("scripts/mixins/job_special")}
require("scripts/globals/missions")
----------... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/silver_shark.lua | 18 | 1319 | -----------------------------------------
-- ID: 4451
-- Item: silver_shark
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
LiquidFeedbackUA/webmcp | framework/env/net/send_mail.lua | 2 | 2118 | --[[--
success = -- true, if mail has been sent successfully, otherwise false
net.send_mail{
envelope_from = envelope_from, -- envelope from address, not part of mail headers
from = from, -- From header address or table with 'name' and 'address' fields
sender ... | mit |
Mailaender/OpenRA | mods/d2k/maps/ordos-01b/ordos01b.lua | 4 | 5019 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
emmericp/FlowScope | lua/flowscope.lua | 1 | 3278 | local lm = require "libmoon"
local device = require "device"
local ffi = require "ffi"
local log = require "log"
local flowtracker = require "flowtracker"
local qq = require "qq"
local jit = require "jit"
jit.opt.start("maxrecord=20000", "maxirconst=20000", "loopunroll=4000")
function configure(parser)
parser:arg... | mit |
m241dan/darkstar | scripts/zones/Quicksand_Caves/mobs/Princeps_IV-XLV.lua | 10 | 1350 | -----------------------------------
-- Area: Quicksand Caves
-- MOB: Princeps IV-XLV
-- Pops in Bastok mission 8-1 "The Chains that Bind Us"
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/Text... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Three_Steps_IM.lua | 13 | 3350 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Three Steps, I.M.
-- Type: Border Conquest Guards
-- @pos -120.393 -25.822 -592.604 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Al_Zahbi/npcs/Ugahar.lua | 13 | 1035 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Ugahar
-- Type: Standard NPC
-- @zone: 48
-- @pos 52.262 -1 123.185
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Dragons_Aery/mobs/Fafnir.lua | 1 | 1718 | -----------------------------------
-- Area: Dragons Aery
-- HNM: Fafnir
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/melfnm");
-----------------------------------
-- onMobInitialize
-----------... | gpl-3.0 |
dvr333/Zero-K | Objects3d/pw_wormhole.dae.lua | 8 | 1276 | return {
--pieces = {
-- base = {
-- offset = {0.00, 0.00, 0.00},
--
-- pannel1 = {
-- offset = {18.07, 51.31, -0.00},
--
-- },
-- pannel2 = {
-- offset = {-18.07, 51.31, -0.00},
--
-- },
-- turret = {
-- offset = {0.00, 0.00, 0.00},
--
-- cylinder = {
-- offset = {0.00, 0.... | gpl-2.0 |
joerg-krause/luvi | samples/test.app/utils.lua | 11 | 9569 | --[[
Copyright 2014-2015 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 o... | apache-2.0 |
Be1eriand/Civ-5-Big-Data-Mod | Override/LeagueProjectPopup.lua | 1 | 10110 | --------------------------------------------------------------
-- LeagueProjectPopup.lua
-- Author: Anton Strenger
-- DateCreated: 1/16/2012
--
-- Shows information about the results of a League Project
--------------------------------------------------------------
include( "InstanceManager" );
include( "IconSupport" ... | mit |
condor-the-bird/tarantool | test/box/role.test.lua | 7 | 10751 | box.schema.role.create('iddqd')
box.schema.role.create('iddqd')
box.schema.role.drop('iddqd')
box.schema.role.drop('iddqd')
box.schema.role.create('iddqd')
-- impossible to su to a role
box.session.su('iddqd')
-- test granting privilege to a role
box.schema.role.grant('iddqd', 'execute', 'universe')
box.schema.role.inf... | bsd-2-clause |
sigurdfdragon/wesnoth-fork | data/lua/core/sides.lua | 5 | 4720 | --[========[Sides module]========]
if wesnoth.kernel_type() == "Game Lua Kernel" then
print("Loading sides module...")
local sides_mt = {
__metatable = "sides",
__index = function(_, key)
-- Only called if the key doesn't exist, so return nil if it's not a number
if type(key) == 'number' then
return w... | gpl-2.0 |
Telebot1/Telewild | plugins/chat.lua | 2 | 1829 | local function run(msg)
if msg.text == "hi" then
return "Hello"
end
if msg.text == "Hi" then
return "Hello honey"
end
if msg.text == "Hello" then
return "Hi"
end
if msg.text == "hello" then
return "Hi honey"
end
if msg.text == "Salam" then
return "Salam"
end
if msg.text == "salam" then
return "salam"
end
if msg.t... | gpl-2.0 |
dvr333/Zero-K | LuaRules/Gadgets/CAI/UnitListHandler.lua | 8 | 7353 | --[[ Handles Lists of Units
* Create as a list of unit with some local functions.
* Can get total unit cost, a random unit, units in area etc..
* Elements can have custom data.
== CreateUnitList(losCheckAllyTeamID)
losCheckAllyTeamID is the point of view that the return functions should take
regarding LOS. A non... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/TextIDs.lua | 22 | 1261 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
aqasaeed/uzzbot | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
tcellerier/Domoticz-LUA-scripts | script_device_telecommande.lua | 1 | 12614 | -------------------------------------------------------------
-- Script de gestion de la telecommande RF
------------------------------------------------------------
-- A parametrer dans chaque device Domoticz : Off Delay: 1 second !!!!
package.path = package.path .. ';' .. '/home/pi/domoticz/scripts/lua/?.lua'
re... | gpl-3.0 |
rekotc/game-engine-experimental-3 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/docs/markdown.lua | 3 | 40462 | #!/usr/bin/env lua
--[[
# markdown.lua -- version 0.32
<http://www.frykholm.se/files/markdown.lua>
**Author:** Niklas Frykholm, <niklas@frykholm.se>
**Date:** 31 May 2008
This is an implementation of the popular text markup language Markdown in pure Lua.
Markdown can convert documents written in a simple and easy... | lgpl-3.0 |
yuanfengyun/mj_server | mjlib/base/auto_table.lua | 2 | 4144 | return {[1114113]=true,[3]=true,[411141]=true,[2223111]=true,[112111113]=true,[111114]=true,[13323]=true,[222222]=true,[112143]=true,[1122321]=true,[1221141]=true,[1113111]=true,[1113114]=true,[111112221]=true,[12321]=true,[3122211]=true,[12324]=true,[111141]=true,[14211111]=true,[111144]=true,[1411113]=true,[1121322]=... | mit |
m241dan/darkstar | scripts/globals/mobskills/Polar_Blast.lua | 33 | 1412 | ---------------------------------------------
-- Polar Blast
--
-- Description: Deals Ice damage to enemies within a fan-shaped area. Additional effect: Paralyze
-- Type: Breath
-- Ignores Shadows
-- Range: Unknown Cone
---------------------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
m241dan/darkstar | scripts/globals/events/harvest_festivals.lua | 13 | 11508 | ---------------------------------------------------------
---------------------------------------------------------
------------ Harvest Festivals --------------------
---------------------------------------------------------
---------------------------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
ignacio/sailor | test/dev-app/tests/functional/category.lua | 4 | 1500 | local form = require "sailor.form"('category')
local test = require "sailor.test"
describe("Testing #CategoryController", function()
local Category = sailor.model('category')
local fixtures = require "tests.fixtures.category"
setup(function()
test.load_fixtures('category')
end)
it("should open index", fu... | mit |
m241dan/darkstar | scripts/globals/items/bowl_of_witch_stew.lua | 18 | 1449 | -----------------------------------------
-- ID: 4344
-- Item: witch_stew
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 45
-- Strength -1
-- Mind 4
-- MP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
santssoft/darkstar | scripts/zones/QuBia_Arena/IDs.lua | 8 | 2178 | -----------------------------------
-- Area: QuBia_Arena
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.QUBIA_ARENA] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back ... | gpl-3.0 |
dvr333/Zero-K | LuaRules/Configs/MetalSpots/Altair_Crossing_v3.lua | 6 | 1135 | return {
spots = {
{x = 3864, z = 2136, metal = 2.2},
{x = 888, z = 4024, metal = 1.0},
{x = 3944, z = 184, metal = 1.0},
{x = 568, z = 1928, metal = 2.2},
{x = 1528, z = 1560, metal = 2.6},
{x = 3640, z = 2056, metal = 2.2},
{x = 568, z = 3144, metal = 2.2},
{x = 1912, z = 4040, metal = 2.6},
{x... | gpl-2.0 |
m241dan/darkstar | scripts/globals/mobskills/Heavy_Stomp.lua | 33 | 1070 | ---------------------------------------------
-- Heavy Stomp
--
-- Description: Deals heavy damage to targets within an area of effect. Additional effect: Paralysis
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Paralysis effect has a very long duration.
---------------... | gpl-3.0 |
dvr333/Zero-K | units/jumpblackhole.lua | 1 | 4336 | return { jumpblackhole = {
unitname = [[jumpblackhole]],
name = [[Placeholder]],
description = [[Black Hole Launcher]],
acceleration = 1.2,
brakeRate = 7.2,
buildCostMetal = 250,
builder = false,
buildPic = [[... | gpl-2.0 |
dvr333/Zero-K | LuaUI/i18nlib/i18n/variants.lua | 36 | 1195 | local variants = {}
local function reverse(arr, length)
local result = {}
for i=1, length do result[i] = arr[length-i+1] end
return result, length
end
local function concat(arr1, len1, arr2, len2)
for i = 1, len2 do
arr1[len1 + i] = arr2[i]
end
return arr1, len1 + len2
end
function variants.ancestry(... | gpl-2.0 |
hylthink/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Animation.lua | 10 | 4139 |
--------------------------------
-- @module Animation
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Gets the times the animation is going to loop. 0 means animation is not animated. 1, animation is executed one time, ...
-- @function [parent=#Animation] getLoops
-- @param self
-- @return ... | mit |
dvr333/Zero-K | LuaUI/Widgets/chili_old/Controls/LayoutPanel.lua | 5 | 27186 | --//=============================================================================
--// This control is the base of any auto-layout panel, this includes:
--// grid, stackpanel, tables, itemlistview, listbox, radiogroups, ...
--//
--// Internal all childrens/items are handled via cells, which can be
--// freely aligned... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Meriphataud_Mountains_[S]/Zone.lua | 12 | 1788 | -----------------------------------
--
-- Zone: Meriphataud_Mountains_[S] (97)
--
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Meriphataud_Mountains_[S]/TextIDs");
require("scripts/globals/setting... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Beaucedine_Glacier/mobs/Tundra_Tiger.lua | 4 | 1399 | -----------------------------------
-- Area: Beaucedine Glacier
-- MOB: Tundra Tiger
-- Note: PH for Nue, Kirata
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/Beaucedine_Glacier/MobIDs");
-----------------------------------
-- onMobDeath
------------------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm3.lua | 13 | 1960 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm3 (???)
-- Involved In Quest: Yomi Okuri
-- @pos -767 -4 192 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scrip... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Monastic_Cavern/mobs/Orcish_Overlord.lua | 11 | 1635 | -----------------------------------
-- Area: Monastic Cavern
-- NM: Orcish Overlord
-- Note: PH for Overlord Bakgodek
-- TODO: messages should be zone-wide
-----------------------------------
local ID = require("scripts/zones/Monastic_Cavern/IDs")
mixins = {require("scripts/mixins/job_special")}
require("scripts/glob... | gpl-3.0 |
dvr333/Zero-K | LuaUI/Widgets/chili_old/Controls/screen.lua | 13 | 7772 | Screen = Object:Inherit{
--Screen = Control:Inherit{
classname = 'screen',
x = 0,
y = 0,
width = 0,
height = 0,
preserveChildrenOrder = true,
activeControl = nil,
focusedControl = nil,
hoveredControl = nil,
currentTooltip = nil,
_lastHoveredControl = nil,
_lastClicked =... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Port_Jeuno/IDs.lua | 6 | 4395 | -----------------------------------
-- Area: Port_Jeuno
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.PORT_JEUNO] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after s... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Windurst-Jeuno_Airship/IDs.lua | 12 | 1300 | -----------------------------------
-- Area: Windurst-Jeuno_Airship
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.WINDURST_JEUNO_AIRSHIP] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <... | gpl-3.0 |
mpeterv/Penlight | lua/pl/seq.lua | 3 | 14502 | --- Manipulating iterators as sequences.
-- See @{07-functional.md.Sequences|The Guide}
--
-- Dependencies: `pl.utils`, `pl.types`, `debug`
-- @module pl.seq
local next,assert,pairs,tonumber,type,setmetatable = next,assert,pairs,tonumber,type,setmetatable
local strfind,format = string.find,string.format
local mrandom ... | mit |
m241dan/darkstar | scripts/zones/Xarcabard/npcs/Pelogrant.lua | 13 | 1883 | -----------------------------------
-- Area: Xarcabard
-- NPC: Pelogrant
-- Type: Outpost Vendor
-- @pos 210 -22 -201 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest"... | gpl-3.0 |
silky/frequensea | lua/slinky-two-point-five.lua | 2 | 1264 | -- Visualize IQ data from the HackRF as a spiral (like a slinky toy)
-- This visualisation looks at the 2.5 (test?) tone
VERTEX_SHADER = [[
#version 400
layout (location = 0) in vec3 vp;
layout (location = 1) in vec3 vn;
out vec3 color;
uniform mat4 uViewMatrix, uProjectionMatrix;
uniform float uTime;
void main() {
... | mit |
atimoschenkow/OpenRA | mods/ra/maps/soviet-04b/AI.lua | 19 | 2829 | IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end
IdlingUnits = function()
local lazyUnits = Greece.GetGroundAttackers()
Utils.Do(lazyUnits, function(unit)
Trigger.OnDamaged(unit, function()
Trigger.ClearAll(unit)
Trigger.AfterDelay(0, function() IdleHunt(unit) end)
... | gpl-3.0 |
sigurdfdragon/wesnoth-fork | data/campaigns/The_Rise_Of_Wesnoth/ai/ca_aggressive_attack_no_suicide.lua | 6 | 1846 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local AANS_attack
local ca_aggressive_attack_no_suicide = {}
function ca_aggressive_attack_no_suicide:evaluation(cfg, data)
local units = AH.get_units_with_attacks { side = wesnoth.current.side }
if (not units[1]) then return 0 end
-- Get all possible a... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Windurst_Woods/npcs/Lih_Pituu.lua | 53 | 1893 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Lih Pituu
-- Type: Bonecraft Adv. Image Support
-- @pos -5.471 -6.25 -141.211 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_W... | gpl-3.0 |
rekotc/game-engine-experimental-3 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/docs/index.lua | 2 | 2339 | -- indexing a library
require 'pl'
local match = sip.match_at_start
local module_name
local funs = List()
function add_function (name,sentence)
funs:append {name,sentence,module_name}
end
function process_module (f)
local state = 'finding_module'
local res = {}
module_name = nil
for line in io.l... | lgpl-3.0 |
santssoft/darkstar | scripts/globals/mobskills/megaflare.lua | 11 | 1890 | ---------------------------------------------
-- Megaflare
-- Family: Bahamut
-- Description: Deals heavy Fire damage to enemies within a fan-shaped area.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range:
-- Notes: Used by Bahamut every 10% of its HP (except at 10%), but can use at will when und... | gpl-3.0 |
lvshaco/ejoy2d | examples/test_sprite.lua | 1 | 1761 | local ej = require "ejoy2d"
local fw = require "ejoy2d.framework"
local pack = require "ejoy2d.simplepackage"
local matrix = require "ejoy2d.matrix"
local spritex = require "ex.spritex"
pack.load {
pattern = fw.WorkDir..[[examples/asset/?]],
"image", 'uiimage'
}
local o0 = spritex.new("image", 0)
local o1 = spritex... | mit |
m241dan/darkstar | scripts/globals/spells/cursna.lua | 21 | 1948 | -----------------------------------------
-- Spell: Cursna
-- Removes curse and bane from target.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
aqasaeed/uzzbot | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
m241dan/darkstar | scripts/globals/items/serving_of_karni_yarik_+1.lua | 18 | 1379 | -----------------------------------------
-- ID: 5589
-- Item: serving_of_karni_yarik_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
m241dan/darkstar | scripts/commands/jail.lua | 26 | 2057 | ---------------------------------------------------------------------------------------------------
-- func: jail
-- desc: Sends the target player to jail. (Mordion Gaol)
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters ... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Qulun_Dome/npcs/qm1.lua | 13 | 1386 | -----------------------------------
-- Area: Qulun Dome
-- NPC: qm1 (???)
-- Used In Quest: Whence Blows the Wind
-- @pos 261 39 79 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
m241dan/darkstar | scripts/commands/changejob.lua | 21 | 1062 | ---------------------------------------------------------------------------------------------------
-- func: changejob
-- desc: Changes the players current job.
---------------------------------------------------------------------------------------------------
require("scripts/globals/status");
cmdprops =
{
permi... | gpl-3.0 |
ducseb/domoticz | scripts/dzVents/runtime/tests/tstData.lua | 5 | 9499 | local testData = {
domoticzData = {
[1] = {
["id"] = 1,
["name"] = "device1",
["description"] = "Description 1";
["batteryLevel"] = 10,
["signalLevel"] = 10,
["subType"] = "Zone";
["timedOut"] = true,
["switchType"] = "Contact",
["switchTypeValue"] = 2,
["lastUpdate"] = "2016-03-20 12:... | gpl-3.0 |
m241dan/darkstar | scripts/globals/spells/bluemagic/light_of_penance.lua | 25 | 2273 | -----------------------------------------
-- Spell: Light of Penance
-- Reduces an enemy's TP. Additional effect: Blindness and "Bind"
-- Spell cost: 53 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Light)
-- Blue Magic Points: 5
-- Stat Bonus: CHR+1, HP+15
-- Level: 58
-- Casting Time: 3 seconds
-- Recast Time:... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Windurst_Woods/npcs/Taraihi-Perunhi.lua | 12 | 1206 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Taraihi-Perunhi
-- Only sells when Windurst controlls Derfland Region
-- Confirmed shop stock, August 2013
-----------------------------------
local ID = require("scripts/zones/Windurst_Woods/IDs")
require("scripts/globals/events/harvest_festivals")
r... | gpl-3.0 |
mitterdoo/keeptalkingnobodyexplodes | lua/entities/mitt_explodes/modules/morse.lua | 1 | 6770 | /*
The MIT License (MIT)
Copyright (c) 2015 mitterdoo
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, pub... | mit |
camchenry/super_shooter | entities/ui/button.lua | 1 | 3375 | Button = class("Button")
function Button:initialize(text, x, y, w, h, fontSize, activated)
self.text = text
self.font = fontSize or font[32]
self.x = x
self.y = y
self.width = w or self.font:getWidth(text)
self.height = h or self.font:getHeight(text)
self.active = {127/255, 127/255, 127/25... | mit |
Schaka/PartyAbilityBarsLegion | libs/Spells/spell_lib_rogue.lua | 2 | 8540 | local name, SPELLDB = ...
SPELLDB.ROGUE = {}
SPELLDB.ROGUE.ASSASSINATION = {}
SPELLDB.ROGUE.OUTLAW = {}
SPELLDB.ROGUE.SUBTLETY = {}
SPELLDB.ROGUE.ASSASSINATION.spells = {
208683,
2094 --[[Blind--]],
1833 --[[Cheap Shot--]],
31224 --[[Cloak of Shadows--]],
185311 --[[Crimson Vial--]],
... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/qm.lua | 13 | 1620 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: ???
-- Involved In Quest: A Craftsman's Work
-- @pos 113 -7.972 -72 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setti... | gpl-3.0 |
ILiebhardt/darktable | tools/lua_doc/old_api/dt_api300.lua | 7 | 247785 | API = {
["__text"] = [==[This documentation is for the *development* version of darktable. for the stable version, please visit the user manual
To access the darktable specific functions you must load the darktable environment:<code>darktable = require "darktable"</code>All functions and data are accessed through the d... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Western_Adoulin/npcs/Porter_Moogle.lua | 41 | 1534 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 256
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Adoulin/... | gpl-3.0 |
RAHOOMY96ALIRAQI/BOT_MR_KOHI | plugins/stats.lua | 15 | 4017 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
santssoft/darkstar | scripts/globals/weaponskills/exenterator.lua | 10 | 2156 | -----------------------------------
-- Exenterator
-- Skill level: 357
-- Terpsichore: Aftermath effect varies with TP.
-- In order to obtain Exenterator, the quest Martial Mastery must be completed.
-- Description: Delivers a fourfold attack that lowers enemy's params.accuracy. Effect duration varies with TP.
-- Align... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/slice_of_karakul_meat.lua | 18 | 1290 | -----------------------------------------
-- ID: 5571
-- Item: Slice of Karakul Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- Strength +2
-- Intelligence -4
-----------------------------------------
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fq.lua | 14 | 2654 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: West Plate
-- @pos 150 -32 14 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- ... | gpl-3.0 |
rdlaitila/LURE | src/__legacy__/lib/loveframes/objects/multichoice.lua | 13 | 11033 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.multichoice"))
local ... | mit |
Armyluix/darkstar | scripts/globals/spells/mages_ballad_ii.lua | 31 | 1186 | -----------------------------------------
-- Spell: Mage's Ballad II
-- Gradually restores target's MP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChe... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Castle_Zvahl_Baileys/npcs/Treasure_Coffer.lua | 13 | 4974 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Treasure Coffer
-- @zone 161
-- @pos -75 0 19
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glob... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Qufim_Island/npcs/Nightflowers.lua | 14 | 1556 | -----------------------------------
-- 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("scripts... | gpl-3.0 |
jebenexer/kong | spec/03-plugins/14-cors/01-access_spec.lua | 3 | 13130 | local helpers = require "spec.helpers"
local cjson = require "cjson"
describe("Plugin: cors (access)", function()
local client
setup(function()
helpers.run_migrations()
local api1 = assert(helpers.dao.apis:insert {
name = "api-1",
hosts = { "cors1.com" },
upstream_url = h... | apache-2.0 |
Armyluix/darkstar | scripts/zones/Upper_Jeuno/npcs/Deadly_Minnow.lua | 17 | 1710 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Deadly Minnow
-- Standard Merchant NPC
-- Involved in Quest: Borghertz's Hands (1st quest only)
-- @zone 244
-- @pos -5 1 48
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Haymaker.lua | 33 | 1189 | ---------------------------------------------
-- Haymaker
--
-- Description: Punches the daylights out of all targets in front. Additional effect: Amnesia
-- Type: Physical
-- Utsusemi/Blink absorb: Unknown
-- Range: Front cone
-- Notes: Only used by Gurfurlur the Menacing.
---------------------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/spells/bluemagic/venom_shell.lua | 26 | 1389 | -----------------------------------------
-- Spell: Venom Shell
-- Poisons enemies within range and gradually reduces their HP
-- Spell cost: 86 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Water)
-- Blue Magic Points: 3
-- Stat Bonus: MND+2
-- Level: 42
-- Casting Time: 3 seconds
-- Recast Time: 45 seconds
-- Ma... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mearuru.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mearuru
-- Type: Standard NPC
-- @zone: 94
-- @pos 153.798 -1 153.712
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----... | gpl-3.0 |
JKGDevs/JediKnightGalaxies | JKGalaxies/glua/maps/jkg_nightfall/npcs.lua | 2 | 2855 | --[[ ------------------------------------------------
Jedi Knight Galaxies Lua Code
JKG Mos Eisley Arena: npcs
Written by Futuza
--------------------------------------------------]]
-- Here we'll spawn all the npcs that belong to the map
local npctable = {
-- The vendors @ blue base
{
NPCType = "ven... | gpl-2.0 |
abriasffxi/darkstar | scripts/globals/items/dark_bass.lua | 18 | 1328 | -----------------------------------------
-- ID: 4428
-- Item: dark_bass
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
rdlaitila/LURE | src/__legacy__/dom/__legacy__/objects/lure_dom_HTMLCssRuleStyle.lua | 1 | 3887 | lure.dom.HTMLCssRuleStyleobj = {}
-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function lure.dom.HTMLCssRuleStyleobj.new(pAttachNode)
local self = {}
--===================================================================
-- OBJECT METATABLE ... | mit |
Armyluix/darkstar | scripts/zones/Lower_Jeuno/npcs/Gurdern.lua | 34 | 1374 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Gurdern
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/quests");
-... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.