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 |
|---|---|---|---|---|---|
jshackley/darkstar | scripts/zones/Bibiki_Bay/npcs/qm1.lua | 17 | 1388 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: ??? (qm1)
-- Notes: Used to spawn Shen
-- @pos -115.108 0.300 -724.664 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bibiki_Bay/TextID... | gpl-3.0 |
goksie/newfies-dialer | lua/newfies.lua | 4 | 3187 | --
-- Newfies-Dialer License
-- http://www.newfies-dialer.org
--
-- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
-- You can obtain one at http://mozilla.org/MPL/2.0/.
--
-- Copyright (C) 2011-2014 Star2Billing S.L.
--
--... | mpl-2.0 |
wolf9s/packages | net/smartsnmpd/files/mibs/system.lua | 158 | 6428 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your optio... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Norg/npcs/Washu.lua | 17 | 3574 | -----------------------------------
-- Area: Norg
-- NPC: Washu
-- Involved in Quest: Yomi Okuri
-- Starts and finishes Quest: Stop Your Whining
-- @pos 49 -6 15 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Markets/npcs/Matthias.lua | 37 | 1050 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Matthias
-- Standard Info NPC
-- Involved in Quest:
-----------------------------------
require("scripts/globals/quests");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
---... | gpl-3.0 |
LiberatorUSA/GUCEF | tests/gucefWEB_TestApp/premake4.lua | 2 | 1980 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0r5.lua | 17 | 1326 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Ornate Gate
-- @pos -95 -24 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomi... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Jagaris.lua | 36 | 4452 | -----------------------------------
-- Area: Bastok Markets [S]
-- NPC: Jagaris
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorag... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Walls/npcs/HomePoint#2.lua | 17 | 1255 | -----------------------------------
-- Area: Windurst Walls
-- NPC: HomePoint#2
-- @pos -212 0.001 -99 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
require("scripts... | gpl-3.0 |
LiberatorUSA/GUCEF | plugins/CORE/codecspluginZLIB/premake5.lua | 11 | 2286 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/zones/Hall_of_the_Gods/npcs/Shimmering_Circle.lua | 17 | 1789 | -----------------------------------
-- Area: Hall of the Gods
-- NPC: Shimmering Circle
-- Lifts players up to the sky!
-- @pos 0 -20 147 251
-----------------------------------
package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyite... | gpl-3.0 |
jshackley/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm2.lua | 2 | 1600 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Kirin)
-- @pos -81 32 2 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextID... | gpl-3.0 |
jshackley/darkstar | scripts/globals/abilities/wizards_roll.lua | 9 | 2874 | -----------------------------------
-- Ability: Wizard's Roll
-- Enhances magic attack for party members within area of effect
-- Optimal Job: Black Mage
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level 58
--
-- Die Roll |No BLM |With BLM
-- -------- -------- -----------
-- 1 |+2 |+6
--... | gpl-3.0 |
VincentGong/chess | cocos2d-x/tests/lua-tests/src/TransitionsTest/TransitionsTest.lua | 5 | 10704 | require "src/TransitionsTest/TransitionsName"
local SceneIdx = -1
local CurSceneNo = 2
local TRANSITION_DURATION = 1.2
local s = cc.Director:getInstance():getWinSize()
local function switchSceneTypeNo()
if CurSceneNo == 1 then
CurSceneNo = 2
else
CurSceneNo = 1
end
end
local function bac... | mit |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua | 4 | 2688 |
--------------------------------
-- @module LoadingBar
-- @extend Widget
--------------------------------
-- @function [parent=#LoadingBar] setPercent
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#LoadingBar] loadTexture
-- @param self
-- @param #string str
--... | mit |
jshackley/darkstar | scripts/globals/weaponskills/shining_blade.lua | 30 | 1336 | -----------------------------------
-- Shining Blade
-- Sword weapon skill
-- Skill Level: 100
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: Light
-- Modifiers: STR:40% ; MND:40%
-- 100%TP 200%TP 300%TP
-- 1.1... | gpl-3.0 |
kidaa/turbo | turbo/escape.lua | 8 | 7852 | --- Turbo.lua Escape module
--
-- Copyright John Abrahamsen 2011, 2012, 2013 < JhnAbrhmsn@gmail.com >
--
-- "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 wit... | apache-2.0 |
jshackley/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Qahzwin.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Qahzwin
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/cup_of_imperial_coffee_+1.lua | 35 | 1257 | -----------------------------------------
-- ID: 5593
-- Item: cup_of_imperial_coffee_+1
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health Regen While Healing 5
-- Magic Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
Th2Evil/SuperPlus | plugins/badword.lua | 7 | 3344 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ block word : منع كلمات ▀▄ ▄▀
▀▄▀▀... | gpl-2.0 |
jshackley/darkstar | scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_5.lua | 17 | 3273 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Ark Angels 5 (Galka)
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/missio... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Markets/npcs/Salimah.lua | 17 | 2906 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Salimah
-- Notes: Start & Finishes Quest: Gourmet
-- @pos -31.687 -6.824 -73.282 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Gennoue.lua | 29 | 1057 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Gennoue
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Tavnazian_Safe... | gpl-3.0 |
CapsAdmin/unfinished | client/chat_cinematic.lua | 1 | 9780 | chatcinematic = chatcinematic or {}
chatcinematic.random_seed = ""
chatcinematic.ActiveHooks = chatcinematic.ActiveHooks or {}
for key, ply in pairs(player.GetAll()) do
ply.chat_cinematic = false
end
function chatcinematic.RandomSeed(min, max, seed)
seed = seed or chatcinematic.random_seed
max = max + 1
seed = se... | gpl-3.0 |
LiberatorUSA/GUCEF | projects/premake5/targets/GUCEF_exe_udp2kafka/premake5.lua | 1 | 1230 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/globals/items/meatloaf.lua | 39 | 1357 | -----------------------------------------
-- ID: 5689
-- Item: Meatloaf
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Strength 6
-- Agility 2
-- Intelligence -3
-- Attack 20% Cap 75
-----------------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
DarkRainX/ufoai | base/ufos/ui/statistics.campaignstat.lua | 2 | 1559 | --!usr/bin/lua
--[[
-- @file
-- @brief Campaign success statistics
--]]
--[[
Copyright (C) 2002-2020 UFO: Alien Invasion.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the Lic... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Al_Zahbi/npcs/Danaaba.lua | 38 | 1025 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Danaaba
-- Type: Standard NPC
-- @zone: 48
-- @pos -17.375 -6.999 59.161
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/tricolored_carp.lua | 18 | 1325 | -----------------------------------------
-- ID: 4426
-- Item: tricolored_carp
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bibiki_Bay/npcs/Noih_Tahparawh.lua | 19 | 3558 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Noih Tahparawh
-- Type: Manaclipper
-- @pos -392 -3 -385 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
require("scripts/zones/Bibiki_Bay/TextIDs");
-----------------------------------
-- onTrade Act... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Attohwa_Chasm/npcs/qm1.lua | 17 | 1612 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: ??? (qm1)
-- @pos -402.574 3.999 -202.750 7
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
----------... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/modules/admin-full/luasrc/controller/admin/index.lua | 6 | 1287 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id: index.lua... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Lower_Jeuno/npcs/Vhana_Ehgaklywha.lua | 17 | 3186 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Vhana Ehgaklywha
-- Standard Info NPC
-- @pos -122.853 0.000 -195.605
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
package.loaded["scripts/globals/pa... | gpl-3.0 |
botmohammad12344888/bot-888338888 | plugins/googlesh.lua | 2 | 1035 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
CriztianiX/luaws | luaws/services/factory.lua | 1 | 1113 | local class = require 'middleclass'
local Luaws_Services_CloudWatch = require 'luaws.services.cloud_watch'
local Luaws_Services_S3 = require 'luaws.services.s3'
local Luaws_Services_SNS = require 'luaws.services.sns'
local Luaws_Services_SQS = require 'luaws.services.sqs'
local Luaws_Services_SWF = require 'luaws.... | gpl-2.0 |
hockeychaos/Core-Scripts-1 | PlayerScripts/StarterPlayerScripts/CameraScript/TransparencyController.lua | 2 | 5353 | -- SolarCrane
local MAX_TWEEN_RATE = 2.8 -- per second
local function clamp(low, high, num)
return (num > high and high or num < low and low or num)
end
local math_floor = math.floor
local function Round(num, places)
local decimalPivot = 10^places
return math_floor(num * decimalPivot + 0.5) / decimalPivot
end
l... | apache-2.0 |
OptimusLime/lua-websockets | src/websocket/ev_common.lua | 5 | 4133 | local ev = require'ev'
local frame = require'websocket.frame'
local tinsert = table.insert
local tconcat = table.concat
local eps = 2^-40
local detach = function(f,loop)
if ev.Idle then
ev.Idle.new(function(loop,io)
io:stop(loop)
f()
end):start(loop)
else
ev.Timer.new(function(loop,io... | mit |
jshackley/darkstar | scripts/zones/Upper_Jeuno/npcs/Champalpieu.lua | 36 | 1244 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Champalpieu
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
--------------------------------... | gpl-3.0 |
sajuptpm/contrail-controller | src/analytics/uvedelete.lua | 10 | 1755 | --
-- Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
--
local function sub_del(_values)
local lres = redis.call('hgetall',_values)
local iter = 1
while iter <= #lres do
local attr = lres[iter]
local val = lres[iter+1]
if string.byte(val,1) ~= 60 then
loca... | apache-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/modules/admin-full/luasrc/model/cbi/admin_status/processes.lua | 12 | 1494 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
jshackley/darkstar | scripts/globals/weaponskills/exenterator.lua | 18 | 2057 | -----------------------------------
-- 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.
--... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ajen-Myoojen.lua | 56 | 1087 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ajen-Myoojen
-- Type: Standard NPC
-- @pos -44.542 -5.999 238.996 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-... | gpl-3.0 |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua | 6 | 5752 |
--------------------------------
-- @module TMXMapInfo
--------------------------------
-- @function [parent=#TMXMapInfo] setObjectGroups
-- @param self
-- @param #array_table array
--------------------------------
-- @function [parent=#TMXMapInfo] setTileSize
-- @param self
-- @param #size_table size
... | mit |
jshackley/darkstar | scripts/zones/Norg/npcs/Keal.lua | 17 | 4233 | -----------------------------------
-- Area: Norg
-- NPC: Keal
-- Starts and Ends Quest: It's Not Your Vault
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
re... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Wild_Rage.lua | 18 | 1137 | ---------------------------------------------
-- 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 |
men232/greencode-framework | lua/greencode/plugins/territory/plugins/ter_owning/sh_auto.lua | 1 | 24067 | --[[
© 2013 GmodLive private project do not share
without permission of its author (Andrew Mensky vk.com/men232).
--]]
local greenCode = greenCode;
local PLUGIN = PLUGIN or greenCode.plugin:Loader();
PLUGIN.class = {};
local TER_PLUGIN = greenCode.plugin:Get("territory");
greenCode.config:Add( "re... | mit |
ByteFun/Starbound_mods | smount/tech/mech/mount30/mount30.lua | 1 | 35539 | function checkCollision(position)
local boundBox = mcontroller.boundBox()
boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1]
boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2]
boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1]
boundBox[4] = boundBox[4] - mcon... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Erpolant.lua | 38 | 1038 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Erpolant
-- Type: Standard NPC
-- @zone: 241
-- @pos -63.224 -0.749 -33.424
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm16.lua | 17 | 1539 | -----------------------------------
-- Zone: Abyssea-Misereaux
-- NPC: ???
-- Spawns: Ironclad Pulverizor
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function o... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/prime_seafood_stewpot.lua | 36 | 1861 | -----------------------------------------
-- ID: 5239
-- Item: Prime Seafood Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 75
-- MP +15
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- Mind 1
-- HP Recovered while healing 7
-- MP Recovered while heal... | gpl-3.0 |
georgekang/jit-construct | dynasm/dasm_x86.lua | 116 | 58970 | ------------------------------------------------------------------------------
-- DynASM x86/x64 module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
local x64 = x64
-- Module i... | bsd-2-clause |
Shrike78/Shilke2D | Shilke2D/Utils/Math/Bezier.lua | 1 | 1851 | --[[---
Bezier curve implementation.
Source ported from http://paulbourke.net/geometry/bezier/index2.html
--]]
---Three control point Bezier interpolation
--@param mu range [0,1], interpolation point between start and end of the curve
--@param p list of 3 control points for bezier definition
function bezier3(mu,p)
... | mit |
Keithenneu/Dota2-FullOverwrite | bot_legion_commander.lua | 1 | 4385 | -------------------------------------------------------------------------------
--- AUTHOR: Keithen
--- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite
-------------------------------------------------------------------------------
require( GetScriptDirectory().."/constants" )
local utils = require( ... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Waters/npcs/Pechiru-Mashiru.lua | 36 | 1776 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Pechiru-Mashiru
-- Involved in Quests: Hat in Hand
-- Working 100%
-- @zone = 238
-- @pos = 162 -2 159
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Abyssea-Attohwa/npcs/qm22.lua | 17 | 1898 | -----------------------------------
-- Zone: Abyssea-Attohwa
-- NPC: ???
-- Spawns: Titlacauan
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(pl... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Cermet_Headstone.lua | 17 | 3918 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Fire Fragment)
-- @pos 491 20 301 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/head_of_grauberg_lettuce.lua | 36 | 1155 | -----------------------------------------
-- ID: 5688
-- Item: Head of Grauberg Lettuce
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/script/AudioEngine.lua | 24 | 2860 | --Encapsulate SimpleAudioEngine to AudioEngine,Play music and sound effects.
local M = {}
function M.stopAllEffects()
cc.SimpleAudioEngine:getInstance():stopAllEffects()
end
function M.getMusicVolume()
return cc.SimpleAudioEngine:getInstance():getMusicVolume()
end
function M.isMusicPlaying()
return cc.S... | mit |
jshackley/darkstar | scripts/zones/Cloister_of_Gales/mobs/Ogmios.lua | 1 | 1323 | -----------------------------------
-- Area: Cloister of Gales
-- MOB: Ogmios
-- Involved in Quest: Carbuncle Debacle
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
-----------------------------------
-- OnMobSpawn Action
--------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Silver_Sea_route_to_Al_Zahbi/Zone.lua | 17 | 1448 | -----------------------------------
--
-- Zone: Silver_Sea_route_to_Al_Zahbi
--
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs");
require("scripts/... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/goldsmiths_belt.lua | 30 | 1215 | -----------------------------------------
-- ID: 15446
-- Item: Goldsmith's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Goldsmithing Skill +3
-----------------------------------------
r... | gpl-3.0 |
spamn/awesome-config | themes/sky/theme.lua | 8 | 4941 | -------------------------------
-- "Sky" awesome theme --
-- By Andrei "Garoth" Thorp --
-------------------------------
-- If you want SVGs and extras, get them from garoth.com/awesome/sky-theme
local theme_assets = require("beautiful.theme_assets")
local xresources = require("beautiful.xresources")
local dpi ... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Norg/npcs/Heizo.lua | 17 | 3116 | -----------------------------------
-- Area: Norg
-- NPC: Heizo
-- Starts and Ends Quest: Like Shining Leggings
-- @pos -1 -5 25 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Rock_Smash.lua | 13 | 1215 | ---------------------------------------------
-- Rock Smash
--
-- Description: Damages a single target. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
golden-tech-native/gd_facerecognize | facelib/openface/models/openface/vgg-face.small1.def.lua | 14 | 2626 | -- Model: vgg-face.small1.def.lua
-- Description: Modified VGG Face network. Smaller and with batch normalization.
-- !! In progress, may change.
-- Input size: 3x96x96
-- Number of Parameters from net:getParameters() with embSize=128: TODO
-- Components: Mostly `nn`
-- Devices: CPU and CUDA
--
-- Brandon Amos <http... | mit |
DougFirErickson/lcm | examples/lua/listener.lua | 9 | 1042 | local lcm = require('lcm')
-- this might be necessary depending on platform and LUA_PATH
package.path = './?/init.lua;' .. package.path
local exlcm = require('exlcm')
function array_to_str(array)
str = '{'
for i = 1, #array - 1 do
str = str .. array[i] .. ', '
end
return str .. array[#array] .. '}'
end
... | lgpl-2.1 |
LiberatorUSA/GUCEF | dependencies/tolua/src/bin/lua/class.lua | 14 | 2836 | -- tolua: class class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: class.lua,v 1.3 2009/11/24 16:45:13 fabraham Exp $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide... | apache-2.0 |
bsmr-games/OpenRA | mods/cnc/maps/nod02b/nod02b.lua | 7 | 6482 | NodUnits = { "bggy", "e1", "e1", "e1", "e1", "e1", "bggy", "e1", "e1", "e1", "bggy" }
NodBaseBuildings = { "hand", "fact", "nuke" }
Grd2ActorTriggerActivator = { Refinery, Yard }
Atk4ActorTriggerActivator = { Guard1 }
Atk3ActorTriggerActivator = { Guard4 }
Atk6ActorTriggerActivator = { Guard2, Guard3 }
HuntActorTrigge... | gpl-3.0 |
iofun/treehouse | luerl/529122331581c82c34d8284ac07c1636.lua | 1 | 2195 | -- Hive-tech air-to-air unit that requires a Greater Spire
-- to morph from a Mutalisk, through a Cocoon.
-- Our unit function table
local this_unit = {}
-- Where we are and fast we move
local x, y, dx, dy
-- Our name
local name = "Zerg_Devourer"
-- Our color
local color = "red"
-- Our BWAPI unit type
local type = 62... | agpl-3.0 |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/auto/api/WavesTiles3D.lua | 6 | 1251 |
--------------------------------
-- @module WavesTiles3D
-- @extend TiledGrid3DAction
--------------------------------
-- @function [parent=#WavesTiles3D] getAmplitudeRate
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#WavesTiles3D] set... | mit |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Nalta.lua | 38 | 1033 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nalta
-- Type: Conquest Troupe
-- @zone: 241
-- @pos 19.140 1 -51.297
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Qufim_Island/npcs/HomePoint#1.lua | 2 | 1194 | -----------------------------------
-- Area: Qufim Island
-- NPC: HomePoint#1
-- @pos -212 -21 93 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Qufim_Island/TextIDs");
require("scripts/globals/homepoint"... | gpl-3.0 |
PTPM/MTASA-legacy | ptpm_accounts/data.lua | 2 | 1644 | function setUserdata( username, column, data )
if column and column == "username" then return false end
local result = executeSQLQuery( "SELECT username FROM users WHERE username = '" .. escapeStr( username ) .. "'" )
if result then
if #result <= 0 then
outputDebugString( "setUserdata: No such username in dat... | mit |
jshackley/darkstar | scripts/globals/weaponskills/cross_reaper.lua | 29 | 1729 | -----------------------------------
-- Cross Reaper
-- Scythe weapon skill
-- Skill level: 225
-- Delivers a two-hit attack. Damage varies with TP.
-- Modifiers: STR:30% ; MND:30%
-- 100%TP 200%TP 300%TP
-- 2.0 2.25 2.5
-----------------------------------
require("scripts/globals/status");
require("script... | gpl-3.0 |
jshackley/darkstar | scripts/globals/spells/dragonfoe_mambo.lua | 18 | 1581 | -----------------------------------------
-- Spell: Dragonfoe Mambo
-- Grants evasion bonus to all members.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cast... | gpl-3.0 |
jshackley/darkstar | scripts/zones/AlTaieu/npcs/Swirling_Vortex.lua | 17 | 1468 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Swirling_Vortex
-- Type: Standard NPC
-- @zone 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/global... | gpl-3.0 |
SpRoXx/GTW-RPG | [misc]/scoreboard/dxscoreboard_clientsettings.lua | 2 | 55205 | settings = {
["useanimation"] = nil,
["toggleable"] = nil,
["showserverinfo"] = nil,
["showgamemodeinfo"] = nil,
["showteams"] = nil,
["usecolors"] = nil,
["drawspeed"] = nil,
["scale"] = nil,
["columnfont"] = nil,
["contentfont"] = nil,
["teamfont"] = nil,
["serverinfofont"] = nil,
["bg_color"] = {},
["s... | bsd-2-clause |
Ombridride/minetest-minetestforfun-server | minetestforfun_game/mods/h2omes/init.lua | 7 | 13909 | h2omes = {}
h2omes.homes = {} -- table players home
h2omes.path = minetest.get_worldpath() .. "/h2omes/"
minetest.mkdir(h2omes.path)
h2omes.time_home = 2 * 60 --MFF 04/05/2016 2 minutes plus 20 minutes
h2omes.time_spawn = 5*60
h2omes.time_from_player = 5*60
h2omes.time_to_player = 5*60
local tmp_players = {}
local fr... | unlicense |
Ombridride/minetest-minetestforfun-server | mods/homedecor_modpack/homedecor/bathroom_furniture.lua | 13 | 3016 | local S = homedecor.gettext
local bathroom_tile_colors = {
{ "1", "white/grey", "#c0c0c0:200" },
{ "2", "white/dark grey", "#404040:150" },
{ "3", "white/black", "#000000:200" },
{ "4", "black/dark grey", "" },
{ "red", "white/red", "#d00000:150" },
{ "green", "white/... | unlicense |
jshackley/darkstar | scripts/zones/Quicksand_Caves/npcs/_5sb.lua | 17 | 1273 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -420 0 735 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Cave... | gpl-3.0 |
LuaDist/lua-uri | test/file.lua | 1 | 5952 | require "uri-test"
local URI = require "uri"
local URIFile = require "uri.file"
local testcase = TestCase("Test uri.file")
function testcase:test_normalize ()
test_norm("file:///foo", "file://LocalHost/foo")
test_norm("file:///", "file://localhost/")
test_norm("file:///", "file://localhost")
test_norm(... | mit |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Cha_Lebagta.lua | 19 | 1938 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Cha Lebagta
-- Type: Standard NPC
-- @zone: 241
-- @pos 58.385 -6.249 216.670
-- Involved in Quests: As Thick as Thieves, Mihgo's Amigo
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Sacrarium/npcs/qm6.lua | 17 | 1739 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm6 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 62.668 -3.111 -127.310 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacr... | gpl-3.0 |
Shrike78/Shilke2D | Samples/BlendModes/blendDrawables.lua | 1 | 3135 | __DEBUG_CALLBACKS__ = true
--__USE_SIMULATION_COORDS__ = true
require("Shilke2D/include")
IO.setWorkingDir("Assets/BlendModes")
local WIDTH,HEIGHT = 1024,768
local FPS = 60
local blendModes = BlendMode.getRegisteredModes(true)
local blendModeIdx = 1
local infoTxt
local fgLayer
local QuadDrawObj = class(DrawableOb... | mit |
jshackley/darkstar | scripts/globals/weaponskills/shark_bite.lua | 30 | 1459 | -----------------------------------
-- Shark Bite
-- Dagger weapon skill
-- Skill level: 225
-- Delivers a twofold attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Will stack with Trick Attack.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
... | gpl-3.0 |
rmhartog/thrift | lib/lua/TProtocol.lua | 98 | 5119 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
jshackley/darkstar | scripts/zones/Den_of_Rancor/npcs/Grounds_Tome.lua | 34 | 1136 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(p... | gpl-3.0 |
jshackley/darkstar | scripts/globals/weaponskills/shining_strike.lua | 30 | 1314 | -----------------------------------
-- Shining Strike
-- Club weapon skill
-- Skill level: 5
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:40% ; MND:40%
-- 100%TP 200%TP 300%TP
-- ... | gpl-3.0 |
slanska/flexilite | src_lua/PropertyDef.lua | 1 | 46661 | ---
--- Created by slanska.
--- DateTime: 2017-10-31 3:18 PM
---
--[[
Property definition
Keeps name, id, reference to class definition
Provides API for property definition validation, type change etc
Notes:
======
* PropertyDef is the base class for family of inherited classes
* PropertyDef has ClassDef to refer to ... | mpl-2.0 |
ByteFun/Starbound_mods | smount/tech/mech/mount36/mount36.lua | 7 | 34280 | function checkCollision(position)
local boundBox = mcontroller.boundBox()
boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1]
boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2]
boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1]
boundBox[4] = boundBox[4] - mcon... | gpl-2.0 |
shagu/pfQuest | db/esES/professions.lua | 1 | 3340 | pfDB["professions"]["esES"] = {
[6] = "Escarcha",
[8] = "Fuego",
[26] = "Armas",
[38] = "Combate",
[39] = "Sutileza",
[40] = "Venenos",
[43] = "Espadas",
[44] = "Hachas",
[45] = "Arcos",
[46] = "Armas de fuego",
[50] = "Dominio de bestias",
[51] = "Supervivencia",
[54] = "Mazas",
[55] = "Esp... | mit |
jshackley/darkstar | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_TT.lua | 8 | 1923 | -----------------------------------
-- Area: LaLoff Amphitheater
-- MOB: Ark Angel TT
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/status");
----... | gpl-3.0 |
hockeychaos/Core-Scripts-1 | CoreScriptsRoot/Modules/Stats/StatsAggregatorManager.lua | 2 | 1937 |
--[[
Filename: StatsAggregatorManager.lua
Written by: dbanks
Description: Indexed array of stats aggregators, one for each stat.
--]]
--[[ Services ]]--
local CoreGuiService = game:GetService('CoreGui')
--[[ Modules ]]--
local StatsUtils = require(CoreGuiService.RobloxGui.Modules.Stats.StatsUtils)
local StatsA... | apache-2.0 |
fastmailops/pdns | modules/luabackend/test/powerdns-luabackend.lua | 12 | 3189 | --remember, this is just a test case to see that the minimal backend does work...
local logger = logger
local pairs = pairs
local type = type
local log_error = log_error
local dnspacket = dnspacket
local domains_id = {}
local domains_name = {}
local records = {}
domains_name["test.com"] = {domain_id = 11, name = ... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Crawlers_Nest/npcs/_5h1.lua | 19 | 2611 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: Strange Apparatus
-- @pos: 214 0 -339 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
require("scripts/zones/Crawlers_Nest/TextIDs");
require("scripts/globals/strangeapparatus");
-----------------... | gpl-3.0 |
yagop/telegram-bot | plugins/location.lua | 625 | 1564 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
BeyondTeam/TeleBeyond | libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute,... | agpl-3.0 |
Th2Evil/SuperPlus | libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute,... | gpl-2.0 |
jshackley/darkstar | scripts/globals/items/whale_staff.lua | 42 | 1075 | -----------------------------------------
-- ID: 17533
-- Item: Whale Staff
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | gpl-3.0 |
Victek/wrt1900ac-aa | feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/html/htmlClass.lua | 18 | 6491 | --------------------------------------------------------------------------------
-- htmlpageClass.lua
--
-- Author(s) [in order of work date]:
-- Fabián Omar Franzotti
--
--------------------------------------------------------------------------------
local util = require("lua-xwrt.xwrt.util")
htmlheadtagsClass ... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.