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
ffxiphoenix/darkstar
scripts/zones/Kazham/npcs/Tatapp.lua
15
11872
----------------------------------- -- Area: Kazham -- NPC: Tatapp -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 15.005042, -8.000000, -104.34995...
gpl-3.0
guker/nn
MixtureTable.lua
3
5947
local MixtureTable, parent = torch.class('nn.MixtureTable', 'nn.Module') function MixtureTable:__init(dim) parent.__init(self) self.dim = dim self._gaterView = torch.Tensor() self._expert = torch.Tensor() self._expertView = torch.Tensor() self._sum = torch.Tensor() self.size = torch.LongStorage() ...
bsd-3-clause
ffxiphoenix/darkstar
scripts/globals/spells/bluemagic/maelstrom.lua
18
1850
----------------------------------------- -- Spell: Maelstrom -- Deals water damage to enemies within range. Additional effect: STR Down -- Spell cost: 162 MP -- Monster Type: Aquans -- Spell Type: Magical (Water) -- Blue Magic Points: 5 -- Stat Bonus: Mind +2 -- Level: 61 -- Casting Time: 6 seconds -- Recast...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Mhaura/npcs/Take.lua
17
4380
----------------------------------- -- Area: Mhaura -- NPC: Take -- Involved In Quest: RYCHARDE_THE_CHEF -- Starts and finishes quest: Expertice ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); ...
gpl-3.0
kondrak/ProDBG
bin/macosx/tundra/scripts/tundra/tools/msvc.lua
22
2788
-- msvc.lua - common definitions for all flavors of MSVC module(..., package.seeall) function apply(env, options) -- load the generic C toolset first tundra.unitgen.load_toolset("generic-cpp", env) -- load support for win32 resource compilation tundra.unitgen.load_toolset("win32-rc", env) env:set_many { ...
mit
lxl1140989/sdk-for-tb
feeds/luci/applications/luci-radvd/luasrc/model/cbi/radvd/prefix.lua
74
3766
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- lo...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua
36
1753
----------------------------------- -- Area: Port Windurst -- NPC: Hohbiba-Mubiba -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Zorchorevi_RK.lua
30
3059
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Zorchorevi, R.K. -- Outpost Conquest Guards -- @pos -242.487 -1 -402.772 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); ...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p2.lua
28
1874
----------------------------------- -- Area: Misareaux Coast -- NPC: Dilapidated Gate -- Entrance to Riverne Site #B01 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/z...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/effects/warcry.lua
35
1071
----------------------------------- -- -- EFFECT_WARCRY -- -- Notes: -- Savagery TP bonus not cut in half like ffxclopedia says. -- ffxiclopedia is wrong, bg wiki right. See link where testing was done. -- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464 ------...
gpl-3.0
azekillDIABLO/Voxellar
mods/NODES/beds/api.lua
7
4902
local reverse = true local function destruct_bed(pos, n) local node = minetest.get_node(pos) local other if n == 2 then local dir = minetest.facedir_to_dir(node.param2) other = vector.subtract(pos, dir) elseif n == 1 then local dir = minetest.facedir_to_dir(node.param2) other = vector.add(pos, dir) end ...
lgpl-2.1
Quenty/NevermoreEngine
src/acceltween/src/Shared/AccelTween.lua
1
3722
--[=[ Provides a means to, with both a continuous position and velocity, accelerate from its current position to a target position in minimum time given a maximum acceleration. See [Spring] for another version of this. Author: TreyReynolds/AxisAngles @class AccelTween ]=] local AccelTween = {} --[=[ Constructs...
mit
ffxiphoenix/darkstar
scripts/zones/Sealions_Den/npcs/Airship_Door.lua
11
1823
----------------------------------- -- Area: -- NPC: Airship_Door ----------------------------------- package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missions"); require("scripts/zones/Sealions_Den/TextIDs"); ...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Lower_Jeuno/npcs/Treasure_Coffer.lua
17
74578
----------------------------------- -- Area: Lower Jeuno -- NPC: Treasure Coffer -- Type: Add-on NPC -- @pos 41.169 3.899 -51.005 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rw.lua
17
1304
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _0rw (Oil Lamp) -- Notes: Opens south door at J-9 from inside. -- @pos 103.703 -26.180 83.000 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/items/sprig_of_cibol.lua
35
1209
----------------------------------------- -- ID: 5234 -- Item: sprig_of_cibol -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
vilarion/Illarion-Content
quest/iradona_goldschein_630_galmair.lua
3
2984
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
ffxiphoenix/darkstar
scripts/globals/mobskills/Sand_Blast.lua
25
1241
--------------------------------------------------- -- Sand Blast -- Deals Earth damage to targets in a fan-shaped area of effect. Additional effect: Blind -- Range: 8' cone --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scri...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Spire_of_Vahzl/npcs/Radiant_Aureole.lua
17
1160
----------------------------------- -- Area: Spire of Vahzl -- NPC: Radiant Aureole ----------------------------------- package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Spire_of_Vahzl/TextIDs"); ----------------------------------- -- o...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/items/m&p_dumpling.lua
36
1210
----------------------------------------- -- ID: 5641 -- Item: M&P Dumpling -- Food Effect: 3Min, All Races ----------------------------------------- -- Intelligence 5 -- Agility -5 -- MP 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
vilarion/Illarion-Content
monster/base/hooks.lua
5
3570
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
ffxiphoenix/darkstar
scripts/zones/Vunkerl_Inlet_[S]/npcs/Leafy_Patch.lua
45
1646
----------------------------------- -- Area: Vunkerl Inlet (S) (F-5) -- NPC: Leafy Patch -- Involved in Quests -- @pos -418 -33 576 ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- re...
gpl-3.0
kondrak/ProDBG
bin/win32/scripts/tundra/ide/xcode5.lua
25
28102
-- Xcode 5 Workspace/Project file generation module(..., package.seeall) local path = require "tundra.path" local nodegen = require "tundra.nodegen" local util = require "tundra.util" local native = require "tundra.native" local xcode_generator = {} xcode_generator.__index = xcode_generator function xcode_generator...
mit
vilarion/Illarion-Content
content/foxden.lua
1
8883
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
ffxiphoenix/darkstar
scripts/globals/spells/bluemagic/hydro_shot.lua
27
1796
----------------------------------------- -- Spell: Hydro Shot -- Additional effect: Enmity Down. Chance of effect varies with TP -- Spell cost: 55 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: MND+2 -- Level: 63 -- Casting Time: 0.5 seconds -- Recast Time...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Selbina/npcs/Abelard.lua
17
7136
----------------------------------- -- Area: Selbina -- NPC: Abelard -- An Explorer's Footsteps -- @pos -52 -11 -13 248 -- This quest was changed to require a minimum amount of fame to combat RMTs POS-Hacking around to -- quickly earn gil. However, as this is not a legitimate concern on private servers play...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Caedarva_Mire/npcs/Runic_Portal.lua
17
2782
----------------------------------- -- Area: Caedarva Mire -- NPC: Runic Portal -- Caedarva Mire Teleporter Back to Aht Urhgan Whitegate -- @pos -264 -6 -28 79 (Dvucca) -- @pos 524 -28 -503 79 (Azouph) ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ------------...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Xarcabard/npcs/qm4.lua
17
1634
----------------------------------- -- Area: Xarcabard -- NPC: qm4 (???) -- Involved in Quests: Atop the Highest Mountains -- @pos -21 -25 -490 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
morteza1377/titann
plugins/patterns.lua
17
1511
do --@sudo_tm -- Returns true if is not empty local function has_usage_data(dict) if (dict.patterns == nil or dict.patterns == '') then return false end return true end -- Get commands for that plugin local function plugin_help(name) local plugin = plugins[name] if not plugin then return nil end local...
agpl-3.0
ffxiphoenix/darkstar
scripts/globals/weaponskills/ruinator.lua
30
1646
----------------------------------- -- Ruinator -- Axe weapon skill -- Skill level: 357 -- Description: Delivers a four-hit attack. params.accuracy varies with TP -- In order to obtain Ruinator, the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all addition...
gpl-3.0
Jigoku/starphase
src/entities/enemies.lua
1
19643
--[[ * Copyright (C) 2016-2019 Ricky K. Thomson * * 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 3 of the License, or * (at your option) any later version. * This program...
gpl-3.0
WUTiAM/uLua2
Assets/LuaScripts/depends/protobuf/encoder.lua
1
15903
-- -------------------------------------------------------------------------------- -- FILE: encoder.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com -- ...
mit
noooway/love2d_arkanoid_tutorial
3-11_WallTiles/walls.lua
1
5041
local vector = require "vector" local walls = {} local image = love.graphics.newImage( "img/800x600/walls.png" ) local wall_vertical_tile_width = 32 local wall_vertical_tile_height = 96 local wall_vertical_tile_x_pos = 0 local wall_vertical_tile_y_pos = 0 local wall_horizontal_tile_width = 96 local wall_horizontal_ti...
mit
vilarion/Illarion-Content
monster/race_60_fox/gray.lua
3
1024
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
Quenty/NevermoreEngine
src/snackbar/src/Client/Snackbar.lua
1
8578
--[=[ Snackbars provide lightweight feedback on an operation at the base of the screen. They automatically disappear after a timeout or user interaction. There can only be one on the screen at a time. @class Snackbar ]=] local require = require(script.Parent.loader).load(script) local qGUI = require("qGUI") loca...
mit
ffxiphoenix/darkstar
scripts/globals/spells/aurorastorm.lua
31
1161
-------------------------------------- -- Spell: Aurorastorm -- Changes the weather around target party member to "auroras." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ------------------------------------...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Bastok_Markets/npcs/HomePoint#3.lua
17
1251
----------------------------------- -- Area: Bastok Markets -- NPC: HomePoint#3 -- @pos -189 -8 26 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/glo...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[admin]/anti/mods.lua
1
3747
modsWarning = textCreateDisplay () local modWarnText1 = textCreateTextItem ( "You have modified game files", 0.5, 0.20, "high", 230, 0, 0, 255, 4.0, "center", "center" ) local modWarnText3 = textCreateTextItem ( "You have modified game files", 0.503, 0.203, "high", 230, 0, 0, 0, 4.0, "center", "center" ) local modWarnT...
mit
RodneyMcKay/x_hero_siege
game/scripts/vscripts/components/timers/init.lua
1
8865
-- require("components/timers/events") if CustomTimers == nil then CustomTimers = class({}) CustomTimers.current_time = {} CustomTimers.current_time["game_time"] = PREGAMETIME * (-1) -- Game Time CustomTimers.current_time["creep_level"] = XHS_CREEPS_UPGRADE_INTERVAL -- Upgrade phase 1 creeps level CustomTimers.c...
gpl-2.0
amiranony/anonybot
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
noooway/love2d_arkanoid_tutorial
2-06_DifferentBrickTypes/ball.lua
2
1278
local vector = require "vector" local ball = {} ball.position = vector( 200, 450 ) ball.speed = vector( -250, -250 ) ball.image = love.graphics.newImage( "img/800x600/ball.png" ) ball.x_tile_pos = 0 ball.y_tile_pos = 0 ball.tile_width = 18 ball.tile_height = 18 ball.tileset_width = 18 ball.tileset_height = 18 ball.qua...
mit
ffxiphoenix/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_544.lua
17
1670
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Door opens when you trade Delkfutt Key to it -- @pos 345 0.1 20 184 ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
mgattozzi/awesome-config
rc.lua
1
19061
-- Standard awesome library local gears = require("gears") local awful = require("awful") awful.rules = require("awful.rules") require("awful.autofocus") -- Widget and layout library local wibox = require("wibox") -- Theme handling library local beautiful = require("beautiful") -- Notification library local naughty = r...
mit
ffxiphoenix/darkstar
scripts/zones/Cape_Teriggan/npcs/Paise_RK.lua
28
3038
----------------------------------- -- Area: Cape Teriggan -- NPC: Bright Moon -- Type: Border Conquest Guards -- @pos 119 0 282 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("scrip...
gpl-3.0
Phrohdoh/OpenRA
mods/d2k/maps/harkonnen-02b/harkonnen02b-AI.lua
4
1363
--[[ 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
ffxiphoenix/darkstar
scripts/globals/abilities/violent_flourish.lua
18
3715
----------------------------------- -- Ability: Violent Flourish -- Stuns target with a low rate of success. Requires one Finishing Move. -- Obtained: Dancer Level 45 -- Finishing Moves Used: 1 -- Recast Time: 0:20 -- Duration: ?? ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
moonlight/blues-brothers-rpg
data/scripts/Sewers.lua
1
1849
-- -- Functions that fill the sewers -- By Georg Muntingh import("Map.lua") Sewers = Map:subclass { name = "Sewers"; init = function(self) local fence1; local obj; Map.init(self, "sewers1.map") self:spawn(WallAndTube, 54, 47); self:spawn(WallAndTube2, 54, 25); self:spawn(Ladder1, 73, 37); self:sp...
gpl-2.0
amiranony/anonybot
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
dualface/cocos2dx_luatests
scripts/luaScript/RenderTextureTest/RenderTextureTest.lua
7
18244
-- Test #1 by Jason Booth (slipster216) -- Test #3 by David Deaco (ddeaco) --/** -- * Impelmentation of RenderTextureSave --*/ local function RenderTextureSave() local ret = createTestLayer("Touch the screen", "Press 'Save Image' to create an snapshot of the render texture") ...
mit
ld-test/argparse
spec/actions_spec.lua
2
6704
local Parser = require "argparse" getmetatable(Parser()).error = function(_, msg) error(msg) end describe("actions", function() it("for arguments are called", function() local parser = Parser() local foo parser:argument("foo"):action(function(_, _, passed_foo) foo = passed_foo end) ...
mit
AfuSensi/Mr.Green-MTA-Resources
resources/[gameplay]/gcshop/modshop/modshop_c.lua
1
28989
local shopTabPanel, modshopTab, modshop_gui local modshop_upgrades, current_vehicle, vehicle_price = {}, nil, 550 local neons = {} local player_perks ------------------------ ---- Loading GUI --- ------------------------ function onShopInit ( tabPanel ) shopTabPanel = tabPanel colorPicker.constructor() modsho...
mit
ffxiphoenix/darkstar
scripts/zones/Attohwa_Chasm/npcs/Excavation_Point.lua
29
1108
----------------------------------- -- Area: Attohwa Chasm -- NPC: Excavation Point ----------------------------------- package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil; ------------------------------------- require("scripts/globals/excavation"); require("scripts/zones/Attohwa_Chasm/TextIDs"); ...
gpl-3.0
amirkingred/antispam
plugins/location.lua
93
1704
-- 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
ffxiphoenix/darkstar
scripts/zones/RuAun_Gardens/npcs/qm1.lua
16
1435
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: ??? (Genbu's Spawn) -- Allows players to spawn the HNM Genbu with a Gem of the North and a Winterstone. -- @pos 257 -70 517 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; -------------------...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Rakih_Lyhall.lua
38
1050
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Rakih Lyhall -- Type: Standard NPC -- @zone: 94 -- @pos -48.111 -4.5 69.712 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5ff.lua
34
1109
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Leviathan's Gate -- @pos 88 -34 -60 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextID...
gpl-3.0
amirkingred/antispam
plugins/boobs.lua
90
1731
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
dualface/cocos2dx_luatests
scripts/luaScript/DrawPrimitivesTest/DrawPrimitivesTest.lua
8
3911
local SceneIdx = -1 local MAX_LAYER = 2 local background = nil local labelAtlas = nil local baseLayer_entry = nil local s = CCDirector:sharedDirector():getWinSize() local function getBaseLayer() local layer = CCLayer:create() local item1 = CCMenuItemImage:create(s_pPathB1, s_pPathB2) local item2 = CCMen...
mit
jacks0nX/cqui
UI/WorldView/CityBannerManager.lua
1
121929
-- =========================================================================== -- City Banner Manager -- =========================================================================== include( "InstanceManager" ); include( "SupportFunctions" ); include( "Civ6Common" ); -- ==============================================...
mit
ffxiphoenix/darkstar
scripts/globals/spells/bluemagic/refueling.lua
18
1269
----------------------------------------- -- Spell: Refueling -- Increases attack speed -- Spell cost: 29 MP -- Monster Type: Arcana -- Spell Type: Magical (Wind) -- Blue Magic Points: 4 -- Stat Bonus: AGI+2 -- Level: 48 -- Casting Time: 1.5 seconds -- Recast Time: 30 seconds -- Duration: 5 minutes -- -- ...
gpl-3.0
moteus/lua-lcurl
test/test_multi_callback.lua
3
2119
local curl = require "lcurl" local called, active_coroutine = 0 -- for Lua 5.1 compat local function co_running() local co, main = coroutine.running() if main == true then return nil end return co end function on_timer() called = called + 1 -- use `os.exit` because now Lua-cURL did not propogate error from...
mit
dualface/cocos2dx_luatests
scripts/CocoStudio.lua
1
8558
-- require "json" require "extern" function sendTriggerEvent(event) local triggerObjArr = TriggerMng.getInstance():get(event) if nil == triggerObjArr then return end for i = 1, table.getn(triggerObjArr) do local triObj = triggerObjArr[i] if nil ~= triObj and triObj:detect() t...
mit
TheStonedTurtle/mellotrainer
mellotrainer/cl_player_skin.lua
1
14405
--[[-------------------------------------------------------------------------- * * Mello Trainer * (C) Michael Goodwin 2017 * http://github.com/thestonedturtle/mellotrainer/releases * * This menu used the Scorpion Trainer as a framework to build off of. * https://github.com/pongo1231/ScorpionTrainer * (C) Emre ...
mit
crzang/awesome-config
crzang/lib/helpers.lua
1
1781
-- -- Created by IntelliJ IDEA. -- User: crzang -- Date: 20.01.15 -- Time: 0:47 -- To change this template use File | Settings | File Templates. -- local capi = { timer = timer } local io = { open = io.open, lines = io.lines } local helpers = {} -- {{{ Escape a string function helpers.escape(text) loca...
apache-2.0
RodneyMcKay/x_hero_siege
game/scripts/vscripts/abilities/heroes/hero_dreadlord.lua
1
10879
function invoker_chaos_meteor_datadriven_on_spell_start(keys) local caster = keys.caster local caster_point = caster:GetAbsOrigin() local target_point = keys.target_points[1] local caster_point_temp = Vector(caster_point.x, caster_point.y, 0) local target_point_temp = Vector(target_point.x, target_point.y, 0) local poi...
gpl-2.0
ffxiphoenix/darkstar
scripts/globals/items/denizanasi.lua
18
1259
----------------------------------------- -- ID: 5447 -- Item: Denizanasi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
dail8859/ScintilluaPlusPlus
ext/scintillua/lexers/ini.lua
5
1271
-- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE. -- Ini LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'ini'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local comment = ...
gpl-2.0
ffxiphoenix/darkstar
scripts/globals/abilities/scavenge.lua
18
2406
----------------------------------- -- Ability: Scavenge -- Searches the ground around user for items. -- Obtained: Ranger Level 10 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); -------------------------...
gpl-3.0
Black-Nine/Self-Bot
plugins/tools.lua
22
7278
--set-- local function save_value(msg, name, value) if (not name or not value) then return end local hash = nil if msg.to.type == 'channel' then hash = 'chat:'..msg.to.id..':variables' end if msg.to.type == 'chat' then hash = 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' th...
gpl-2.0
AfuSensi/Mr.Green-MTA-Resources
resources/[gameplay]/mrgreen-settings/radar.lua
4
3812
-- No touch, kthxbai local tiles = { } local timer local enabled = false local ROW_COUNT = 12 function toggleRadar(load) if load == true then -- outputDebugString("Radar Shader ON") else -- outputDebugString("Radar Shader OFF") end -- Toggle! enabled = load -- Check whether we enabled it if enabled then ...
mit
vilarion/Illarion-Content
quest/ruzusss_644_cadomyr.lua
3
2836
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
moonlight/blues-brothers-rpg
data/scripts/AIController.lua
2
1610
-- -- Controls the behaviour of an enemy Pawn -- By Bjorn Lindeijer import("Controller.lua") AIController = Controller:subclass { name = "AIController"; tick = function(self) if (self.pawn.charging > 0) then self.pawn.charging = self.pawn.charging - 1 end if (self.target and (self.target.map ~=...
gpl-2.0
RodneyMcKay/x_hero_siege
game/scripts/vscripts/abilities/heroes/hero_abaddon/howling_blast.lua
1
1447
require("libraries/timers") function HowlingBlast( keys ) local caster = keys.caster local attacker = keys.attacker local attacker_position = keys.attacker:GetAbsOrigin() local ability = keys.ability local damage = ability:GetLevelSpecialValueFor("ensnare_damage", ability:GetLevel() - 1) local duration = ability:GetLe...
gpl-2.0
ffxiphoenix/darkstar
scripts/globals/items/high_breath_mantle.lua
43
1427
----------------------------------------- -- ID: 15487 -- Item: High Breath Mantle -- Item Effect: HP+38 / Enmity+5 ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------------------------...
gpl-3.0
kondrak/ProDBG
bin/macosx/tundra/scripts/tundra/syntax/files.lua
20
1437
module(..., package.seeall) local decl = require "tundra.decl" local depgraph = require "tundra.depgraph" local common_blueprint = { Source = { Required = true, Help = "Source filename", Type = "string", }, Target = { Required = true, Help = "Target filename", Type = "string", }, }...
mit
Quenty/NevermoreEngine
src/ragdoll/src/Client/RagdollBindersClient.lua
1
1758
--[=[ Holds binders for Ragdolls on the client. Be sure to initialize on the server. See [RagdollBindersClient] for details. Be sure to use a [ServiceBag] to initialize this service. ```lua -- Client.lua local serviceBag = require("ServiceBag") serviceBag:GetService(require("RagdollBindersClient")) serviceBag...
mit
ffxiphoenix/darkstar
scripts/zones/Port_Windurst/npcs/Odilia.lua
38
1029
----------------------------------- -- Area: Port Windurst -- NPC: Odilia -- Type: Standard NPC -- @zone: 240 -- @pos 78.801 -6 118.653 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; --------------------...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Sealions_Den/npcs/Jovial_Rat.lua
38
1034
----------------------------------- -- 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
ffxiphoenix/darkstar
scripts/zones/Arrapago_Reef/npcs/qm2.lua
16
1169
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (Spawn Velionis(ZNM T1)) -- @pos 311 -3 27 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); -------------------...
gpl-3.0
amiranony/anonybot
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
ffxiphoenix/darkstar
scripts/globals/spells/bind.lua
18
1086
----------------------------------------- -- Spell: Bind ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[race]/customblips/imagelib.lua
7
3497
dxImage = {} dxImage_mt = { __index = dxImage } local g_screenX,g_screenY = guiGetScreenSize() local visibleImages = {} local idImages = {} local idCounter = 0 ------ local defaults = { fX = 0.5, fY = 0.5, fWidth = 0, fHeight = 0, bRelativePosition = true, bRelativeSize = true, fRot ...
mit
ffxiphoenix/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Statue_Prototype.lua
16
1244
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Statue Prototype ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scri...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kalimahf.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kalimahf -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/items/pumpkin_pie_+1.lua
35
1372
----------------------------------------- -- ID: 4447 -- Item: pumpkin_pie_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 45 -- Intelligence 4 -- Charisma -1 -- MP Recovered While Healing 1 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
minermoder27/minetest-buildtest
pipes/diamond.lua
1
3324
buildtest.pipes.types.diamond = { base = "default:diamond", colours = { "green", "black", "red", "white", "blue", "yellow", }, } -- x+ : red -- x- : green -- y+ : blue -- y- : yellow -- z+ : black -- z- : white buildtest.pipes.makepipe(function(set, nodes, count, name, id, clas, type) ...
apache-2.0
moonlight/blues-brothers-rpg
data/scripts/BBRpgLangDutch.lua
1
18935
-- -- This object holds written text, to easy translation of the game. -- import("Lang.lua") BBRpgLangDutch = Lang:subclass { name = "BBRpgLangDutch"; vars = { PLAY = "Spelen", QUICKPLAY = "Direct Spelen", CREDITS = "Makers", LANGUAGE = "Taal", QUIT = "Afsluiten", ...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Outer_Horutoto_Ruins/Zone.lua
28
1816
----------------------------------- -- -- Zone: Outer_Horutoto_Ruins (194) -- ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zone...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[race]/race/_joiner_client.lua
4
5671
-- -- joiner_client.lua -- -- see joiner.lua for details -- g_Root = getRootElement() g_ResRoot = getResourceRootElement(getThisResource()) addEvent('onClientPlayerJoining') -- Pre join addEvent('onClientPlayerJoined') -- Post join g_JoinedPlayers = {} -- List of joined players maintained at the clien...
mit
azekillDIABLO/Voxellar
mods/PLAYER/give_initial_stuff/init.lua
6
1139
local stuff_string = minetest.settings:get("initial_stuff") or "default:pick_steel,default:axe_steel,default:shovel_steel," .. "default:torch 99,default:cobble 99" give_initial_stuff = { items = {} } function give_initial_stuff.give(player) minetest.log("action", "Giving initial stuff to player " .. player:g...
lgpl-2.1
ffxiphoenix/darkstar
scripts/zones/Windurst_Walls/npcs/Zayhi-Bauhi.lua
17
5268
----------------------------------- -- Area: Windurst Walls -- Location: X:-91 Y:-9 Z:109 -- NPC: Zayhi-Bauhi -- Working 100% -- Starts and Finishes Quest: To Bee or Not to Bee? ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; -------------------------------...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[race]/race_toptimes/toptimes_client.lua
4
15935
-- -- toptimes_client.lua -- CToptimes = {} CToptimes.__index = CToptimes CToptimes.instances = {} g_Settings = {} --------------------------------------------------------------------------- -- Client -- Handle events from Race -- -- This is the 'interface' from Race -- -----------------------------------------------...
mit
vilarion/Illarion-Content
npc/hairdresser.lua
1
50635
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
ffxiphoenix/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Areuhat1.lua
36
1069
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Areuhat -- @zone 80 -- @pos 21 0 22 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------...
gpl-3.0
bgarrels/vlc-2.1
share/lua/playlist/mpora.lua
97
2565
--[[ $Id$ Copyright © 2009 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) 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 opt...
gpl-2.0
kondrak/ProDBG
bin/win32/scripts/tundra/syntax/glob.lua
22
3353
-- glob.lua - Glob syntax elements for declarative tundra.lua usage module(..., package.seeall) local util = require "tundra.util" local path = require "tundra.path" local decl = require "tundra.decl" local dirwalk = require "tundra.dirwalk" local ignored_dirs = util.make_lookup_table { ".git", ".svn", "CVS" } loca...
mit
hewei-chn/resurgence
hscale-0.2/test/proxyUnit/suite/optivo/hscale/t/test-queryRewriter.lua
2
2190
--[[ Copyright (C) 2008 optivo GmbH This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WI...
gpl-2.0
ffxiphoenix/darkstar
scripts/globals/items/icefish.lua
18
1317
----------------------------------------- -- ID: 4470 -- Item: icefish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/weaponskills/shield_break.lua
18
1877
----------------------------------- -- Shield Break -- Great Axe weapon skill -- Skill level: 5 -- Lowers enemy's Evasion. Duration of effect varies with TP. -- Lowers Evasion by as much as 40 if unresisted. -- Strong against: Bees, Beetles, Birds, Crabs, Crawlers, Flies, Lizards, Mandragora, Opo-opo, Pugils, Sab...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Beaucedine_Glacier/mobs/Tundra_Tiger.lua
23
1425
----------------------------------- -- 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