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/Northern_San_dOria/npcs/Capiria.lua
14
1477
----------------------------------- -- Area: Northern San d'Oria -- NPC: Capiria -- Type: Involved in Quest (Flyers for Regine) -- @zone: 231 -- @pos -127.355 0.000 130.461 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[admin]/sqlitebrowser/TableWindow.lua
4
12735
--- -- Creates a window for a single database table, -- to browse data and perform simple editing operations -- -- @author driver2 -- @copyright 2009-2010 driver2 TableWindow = {} --[[ -- new -- -- Creates a new TableWindow object. -- -- @param string dbTable: The name of the table. -- @return table The obje...
mit
ffxiphoenix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sharin-Garin.lua
19
1899
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sharin-Garin -- Type: Adventurer's Assistant -- @pos 122.658 -1.315 33.001 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/b...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/items/messhikimaru.lua
18
1034
----------------------------------------- -- ID: 17826 -- Item: Messhikimaru -- Enchantment: Arcana Killer -- Durration: 10 Mins ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------------------...
gpl-3.0
jacks0nX/cqui
UI/Panels/StatusMessagePanel.lua
2
7234
-- =========================================================================== -- Status Message Manager -- Non-interactive messages that appear in the upper-center of the screen. -- =========================================================================== include( "InstanceManager" ); -- ========================...
mit
ffxiphoenix/darkstar
scripts/globals/conquest.lua
7
41670
----------------------------------- -- -- Functions for Conquest system -- ----------------------------------- require("scripts/globals/common"); require("scripts/globals/missions"); ----------------------------------- -- convenience constants ----------------------------------- SANDORIA = 0; BASTOK...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[maps]/coremarkers/chatbar_c.lua
4
4366
------------------------------------------ -- TopBarChat -- ------------------------------------------ -- Developer: Braydon Davis -- -- File: c.lua -- -- Copyright 2013 (C) Braydon Davis -- -- All rights reserved. -- ------------------------------------------ -- Script Version: 1.4 -- ------...
mit
ffxiphoenix/darkstar
scripts/zones/Dynamis-San_dOria/bcnms/dynamis_sandoria.lua
16
1180
----------------------------------- -- Area: Dynamis San d'Oria -- Name: Dynamis San d'Oria ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaSandoria]UniqueID",player:getDynamisUniqueID(1281)); SetServerVaria...
gpl-3.0
elixboyBW/elixboySPM
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
ffxiphoenix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Furious_Boulder.lua
34
1040
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Furious Boulder -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); --...
gpl-3.0
farrajota/human_pose_estimation_torch
models/test/hg-generic-ensemblev3.lua
1
1063
paths.dofile('../layers/Residual.lua') local function lin(numIn,numOut,inp) -- Apply 1x1 convolution, stride 1, no padding local dropout = nn.Dropout(0.2)(inp) local bn_relu = nn.ReLU(true)(nn.SpatialBatchNormalization(numIn)(dropout)) return nn.SpatialConvolution(numIn,numOut,1,1,1,1,0,0)(bn_relu) end...
mit
Aminkavari/xXD4RKXx
bot/utils.lua
26
17219
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Apollyon/npcs/Radiant_Aureole.lua
19
5828
----------------------------------- -- Area: Appolyon -- NPC: Radiant_Aureole -- @pos ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon...
gpl-3.0
vilarion/Illarion-Content
content/climbing.lua
4
3455
--[[ 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/Norg/npcs/Paito-Maito.lua
34
2624
----------------------------------- -- Area: Norg -- NPC: Paito-Maito -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); local path = { -71.189713, -9.413510, 74.024879, -71.674171, -9.317029, 73.054794, -72.516525, -9.298064, 72.363213, -73.432983, -9.220915, 71...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/weaponskills/burning_blade.lua
30
1294
----------------------------------- -- Burning Blade -- Sword weapon skill -- Skill Level: 30 -- Desription: Deals Fire elemental damage to enemy. Damage varies with TP. -- Aligned with the Flame Gorget. -- Aligned with the Flame Belt. -- Element: Fire -- Modifiers: STR:20% ; INT:20% -- 100%TP 200%TP 300...
gpl-3.0
lxl1140989/sdk-for-tb
feeds/luci/applications/luci-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua
78
1089
--[[ Luci configuration model for statistics - collectd interface plugin configuration (c) 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://ww...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Valkurm_Dunes/npcs/qm4.lua
37
1033
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm4 (???) -- Involved in quest: Pirate's Chart -- @pos -160 4 -131 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Valkurm_Dunes/TextIDs");...
gpl-3.0
guker/nn
SparseJacobian.lua
2
8636
nn.SparseJacobian = {} function nn.SparseJacobian.backward (module, input, param, dparam) local doparam = 0 if param then doparam = 1 end -- output deriv module:forward(input) local dout = module.output.new():resizeAs(module.output) -- 1D view local sdout = module.output.new(dout:stor...
bsd-3-clause
ffxiphoenix/darkstar
scripts/globals/items/thundermelon.lua
35
1199
----------------------------------------- -- ID: 4412 -- Item: thundermelon -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Apollyon/mobs/Mountain_Buffalo.lua
16
1405
----------------------------------- -- Area: Apollyon NW -- NPC: Kaiser Behemoth ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- onMobSpawn Act...
gpl-3.0
Phrohdoh/OpenRA
mods/cnc/maps/gdi09/gdi09-AI.lua
3
6273
--[[ 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
Ne02ptzero/Grog-Knight
Resources/Scripts/autocomplete.lua
6
3319
------------------------------------------------------------------------------ -- Copyright (C) 2008-2014, Shane Liesegang -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- *...
apache-2.0
ffxiphoenix/darkstar
scripts/globals/spells/bluemagic/diamondhide.lua
18
1188
----------------------------------------- -- Spell: Diamondhide -- Gives party members within area of effect the effect of "Stoneskin" -- Spell cost: 99 MP -- Monster Type: Beastmen -- Spell Type: Magical (Earth) -- Blue Magic Points: 3 -- Stat Bonus: VIT+1 -- Level: 67 -- Casting Time: 7 seconds -- Recast Ti...
gpl-3.0
Phrohdoh/OpenRA
mods/d2k/maps/atreides-05/atreides05.lua
4
16192
--[[ 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
Black-Nine/Self-Bot
plugins/id.lua
26
3037
local function usernameinfo (user) if user.username then return '@'..user.username end 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_n...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Bastok_Mines/npcs/Azette.lua
28
2058
----------------------------------- -- Area: Bastok Mines -- NPC: Azette -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------...
gpl-3.0
vilarion/Illarion-Content
monster/race_52_raptor/id_524_fire_raptor.lua
3
1584
--[[ 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/items/moon_carrot.lua
35
1194
----------------------------------------- -- ID: 4567 -- Item: moon_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Metalworks/npcs/Fariel.lua
34
2197
----------------------------------- -- Area: Metalworks -- NPC: Fariel -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); require("scripts/globals/pathfind");...
gpl-3.0
ld-test/saci
lua/saci/node.lua
3
15500
----------------------------------------------------------------------------- -- Creates a representation of a single data "node" with support for -- inheritance and field activation. -- -- (c) 2007, 2008 Yuri Takhteyev (yuri@freewisdom.org) -- License: MIT/X, see http://sputnik.freewisdom.org/en/License -------------...
mit
noooway/love2d_arkanoid_tutorial
3-02_BallLaunchFromPlatform/ball.lua
3
5002
local vector = require "vector" local sign = math.sign or function(x) return x < 0 and -1 or x > 0 and 1 or 0 end local ball = {} local first_launch_speed = vector( -150, -300 ) ball.speed = vector( 0, 0 ) ball.image = love.graphics.newImage( "img/800x600/ball.png" ) ball.x_tile_pos = 0 ball.y_tile_pos = 0 ball.tile_w...
mit
Quenty/NevermoreEngine
src/loader/src2/init.lua
1
1867
local ReplicatedStorage = game:GetService("ReplicatedStorage") local DependencyUtils = require(script.Dependencies.DependencyUtils) local Replicator = require(script.Replication.Replicator) local ReplicatorReferences = require(script.Replication.ReplicatorReferences) local Maid = require(script.Maid) local LoaderAdder...
mit
ffxiphoenix/darkstar
scripts/zones/Temenos/mobs/Abyssdweller_Jhabdebb.lua
16
1604
----------------------------------- -- Area: Temenos -- NPC: ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------------- -- ...
gpl-3.0
elixboyBW/elixboySPM
plugins/qr.lua
637
1730
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Port_Jeuno/TextIDs.lua
9
3021
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
ld-test/gumbo
gumbo/constants.lua
2
1468
local Set = require "gumbo.Set" local _ENV = nil local namespaces = { html = "http://www.w3.org/1999/xhtml", math = "http://www.w3.org/1998/Math/MathML", svg = "http://www.w3.org/2000/svg" } local voidElements = Set { "area", "base", "basefont", "bgsound", "br", "col", "embed", "frame", "hr", "img...
isc
ffxiphoenix/darkstar
scripts/globals/spells/bluemagic/seedspray.lua
18
2149
----------------------------------------- -- Spell: Seedspray -- Delivers a threefold attack. Additional effect: Weakens defense. Chance of effect varies with TP -- Spell cost: 61 MP -- Monster Type: Plantoids -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 61 -- Casti...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Windurst_Woods/npcs/Cayu_Pensharhumi.lua
38
1416
----------------------------------- -- Area: Windurst Woods -- NPC: Cayu Pensharhumi -- Type: Standard NPC -- @pos 39.437 -0.91 -40.808 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requi...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Lower_Jeuno/npcs/Navisse.lua
34
4871
----------------------------------- -- Area: Lower Jeuno -- NPC: Navisse -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/pathfind"); local path = { -- -59.562683, 6.000...
gpl-3.0
azekillDIABLO/Voxellar
mods/NODES/xdecor/src/hive.lua
5
2044
local hive = {} local honey_max = 16 function hive.construct(pos) local meta = minetest.get_meta(pos) local inv = meta:get_inventory() local formspec = [[ size[8,5;] label[0.5,0;Bees are busy making honey...] image[6,0;1,1;hive_bee.png] image[5,0;1,1;hive_layout.png] list[context;honey;5,0;1,1;] lis...
lgpl-2.1
ffxiphoenix/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Yassi-Possi.lua
38
1147
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Yassi-Possi -- Type: Item Deliverer -- @zone: 94 -- @pos 153.992 -0.001 -18.687 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ...
gpl-3.0
VoxelDavid/echo-ridge
src/StarterPlayer/StarterPlayerScripts/CameraScript.local.lua
1
1172
local players = game:GetService("Players") local run = game:GetService("RunService") local function getTopDownOffset(dist) return Vector3.new(-dist, dist, dist) end local OFFSET = getTopDownOffset(45) local FIELD_OF_VIEW = 25 local client = players.LocalPlayer local camera = workspace.CurrentCamera camera.FieldOf...
mit
lxl1140989/sdk-for-tb
feeds/luci/applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua
78
1934
--[[ Luci configuration model for statistics - collectd email plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
gpl-2.0
raksoras/luaw
lib/luaw_webapp.lua
4
15028
--[[ Copyright (c) 2015 raksoras 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, subl...
mit
ffxiphoenix/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Icon_Prototype.lua
16
1390
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Icon Prototype ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("script...
gpl-3.0
dail8859/ScintilluaPlusPlus
ext/scintillua/lexers/apl.lua
5
1682
-- Copyright 2015-2017 David B. Lamkins <david@lamkins.net>. See LICENSE. -- APL 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 = 'apl'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local comment...
gpl-2.0
iskolbin/ldiff
diff.lua
1
4469
local EvalOp, DiffOp, DiffFun local function diff( var, expr ) if type( expr ) == 'table' then if DiffOp[expr[1]] then return DiffOp[expr[1]]( var, expr[2], expr[3] ) elseif DiffFun[expr[1]] then return {'*', diff( var, expr[2] ), DiffFun[expr[1]]( expr[2] )} else error( tostring( expr[1] ) .. ' not re...
mit
vilarion/Illarion-Content
triggerfield/galmair_bridges_660.lua
2
7563
--[[ 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
veryrandomname/obuut
hump/vector.lua
12
5276
--[[ Copyright (c) 2010-2013 Matthias Richter 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, dis...
mit
ffxiphoenix/darkstar
scripts/zones/Windurst_Waters/npcs/Qhum_Knaidjn.lua
17
2806
----------------------------------- -- Area: Windurst Waters -- NPC: Qhum_Knaidjn -- Type: Guildworker's Union Representative -- @zone: 238 -- @pos -112.561 -2 55.205 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/keyitems"); r...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Metalworks/npcs/HomePoint#2.lua
19
1185
----------------------------------- -- Area: Metalworks -- NPC: HomePoint#2 -- @pos: -78 2 2 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Metalworks/TextIDs"); require("scripts/globals/homepoint"); ----...
gpl-3.0
Ne02ptzero/Grog-Knight
Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/input.lua
13
5031
--- Iterators for extracting words or numbers from an input source. -- -- require 'pl' -- local total,n = seq.sum(input.numbers()) -- print('average',total/n) -- -- See @{06-data.md.Reading_Unstructured_Text_Data|here} -- -- Dependencies: `pl.utils` -- @module pl.input local strfind = string.find local strsub ...
apache-2.0
dail8859/ScintilluaPlusPlus
ext/scintillua/lexers/perl.lua
3
6833
-- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE. -- Perl LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S, V = lpeg.P, lpeg.R, lpeg.S, lpeg.V local M = {_NAME = 'perl'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. loc...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Tafeesa.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Tafeesa -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
shayanchabok555/newbot_shayan
plugins/inrealm.lua
850
25085
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
AfuSensi/Mr.Green-MTA-Resources
resources/[gameplay]/freecam/freecam.lua
4
9416
-- state variables local speed = 0 local strafespeed = 0 local rotX, rotY = 0,0 local velocityX, velocityY, velocityZ -- configurable parameters local options = { invertMouseLook = false, normalMaxSpeed = 2, slowMaxSpeed = 0.2, fastMaxSpeed = 12, smoothMovement = true, acceleration = 0.3, decceleration = 0.15,...
mit
ProjectSkyfire/SkyFire-Community-Tools
FireAdmin/Libraries/AceAddon-2.0/AceAddon-2.0.lua
1
45123
--[[ Name: AceAddon-2.0 Revision: $Rev: 1100 $ Developed by: The Ace Development Team (http://www.wowace.com/index.php/The_Ace_Development_Team) Inspired By: Ace 1.x by Turan (turan@gryphon.com) Website: http://www.wowace.com/ Documentation: http://www.wowace.com/wiki/AceAddon-2.0 SVN: http://svn.wowace.com/wowace/tru...
gpl-3.0
Phrohdoh/OpenRA
mods/ra/maps/fall-of-greece-1-personal-war/personal-war.lua
1
19910
--[[ 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
ProjectSkyfire/SkyFire-Community-Tools
FireAdmin/dbc.lua
3
139442
 function ReturnMapName(MapID) if MapID == "0" then return "Eastern Kingdoms" elseif MapID == "1" then return "Kalimdor" elseif MapID == "13" then return "Testing" elseif MapID == "25" then return "Scott Test" elseif MapID == "29" then return "CashTest" elseif MapID == "30" then return "Alt...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[web]/resourcemanager/manager.lua
5
1625
local mta_getResourceInfo = getResourceInfo function getResourcesSearch ( partialName, state ) local allResources = getResources() local listChunk = {} local stateChunk = {} for k,v in ipairs(allResources) do local resourceName = getResourceName(v) local resourceState = getResourceState(v) if ( (part...
mit
crzang/awesome-config
pl/data.lua
8
19947
--- Reading and querying simple tabular data. -- -- data.read 'test.txt' -- ==> {{10,20},{2,5},{40,50},fieldnames={'x','y'},delim=','} -- -- Provides a way of creating basic SQL-like queries. -- -- require 'pl' -- local d = data.read('xyz.txt') -- local q = d:select('x,y,z where x > 3 and z < 2 sort by y...
apache-2.0
ffxiphoenix/darkstar
scripts/zones/Lufaise_Meadows/npcs/Teldo-Moroldo_WW.lua
30
3062
----------------------------------- -- Area: Lufaise Meadows -- NPC: Teldo-Moroldo, W.W. -- Outpost Conquest Guards -- @pos -542.418 -7.124 -53.521 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conques...
gpl-3.0
dualface/cocos2dx_luatests
scripts/luaScript/CocoStudioTest/CocoStudioGUITest/CocoStudioGUITest.lua
1
113944
local targetPlatform = CCApplication:sharedApplication():getTargetPlatform() local function getFont() if kTargetIphone == targetPlatform or kTargetIpad == targetPlatform then return "Marker Felt" else return "cocosgui/Marker Felt.ttf" end end local ccs = ccs or {} ccs.TouchEventType = { ...
mit
ffxiphoenix/darkstar
scripts/globals/mobskills/Osmosis.lua
13
1247
--------------------------------------------- -- Osmosis -- -- Description: Steals an enemy's HP and one beneficial status effect. Ineffective against undead. -- Type: Magical --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scri...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Lower_Jeuno/npcs/Ghebi_Damomohe.lua
17
4285
----------------------------------- -- Area: Lower Jeuno -- NPC: Ghebi Damomohe -- Type: Standard Merchant -- Starts and Finishes Quest: Tenshodo Membership -- @zone 245 -- @pos 16 0 -5 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globa...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[web]/irc/scripts/handling.lua
4
10884
--------------------------------------------------------------------- -- Project: irc -- Author: MCvarial -- Contact: mcvarial@gmail.com -- Version: 1.0.0 -- Date: 31.10.2010 --------------------------------------------------------------------- ------------------------------------ -- Handling -------------------------...
mit
jacks0nX/cqui
UI/Screens/TechTree.lua
2
72497
-- =========================================================================== -- TechTree -- Tabs set to 4 spaces retaining tab. -- -- The tech "Index" is the internal ID the gamecore used to track the tech. -- This value is essentially the database (db) row id minus 1 since it's 0 based. -- (e.g., TECH_MINING h...
mit
jacks0nX/cqui
BTS/Choosers/TradeRouteChooser.lua
2
64837
print("Better Trade Screen loaded") -- =========================================================================== -- Settings -- =========================================================================== local alignTradeRouteYields = true local showSortOrdersPermanently = false ------------------------------------...
mit
ffxiphoenix/darkstar
scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua
36
1693
----------------------------------- -- Area: Port Bastok -- NPC: Zoby Quhyo -- Only sells when Bastok controlls Elshimo Lowlands -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bas...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Caedarva_Mire/npcs/_272.lua
29
3652
----------------------------------- -- Area: Caedarva Mire -- Door: Runic Seal -- @pos 486 -23 -500 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require(...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Apollyon/mobs/Grave_Digger.lua
33
1024
----------------------------------- -- Area: Apollyon SE -- NPC: Grave_Digger ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- onMobSpawn Action...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Kazham/npcs/Nenepp.lua
15
4356
----------------------------------- -- Area: Kazham -- NPC: Nenepp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 29.014000, -11.00000, -183.884000, ...
gpl-3.0
ffxiphoenix/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
lxl1140989/sdk-for-tb
feeds/luci/applications/luci-statistics/luasrc/statistics/datatree.lua
77
4394
--[[ Luci statistics - rrd data tree builder (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/...
gpl-2.0
RodneyMcKay/x_hero_siege
game/scripts/vscripts/abilities/heroes/hero_archmage.lua
1
5464
function march_of_the_machines_spawn( keys ) local caster = keys.caster local ability = keys.ability local casterLoc = caster:GetAbsOrigin() local targetLoc = keys.target_points[1] local duration = ability:GetLevelSpecialValueFor( "duration", ability:GetLevel() - 1 ) local distance = ability:GetLevelSpecialValueFor( "d...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/GM_Home/Zone.lua
25
1251
----------------------------------- -- -- Zone: GM Home (210) -- -- Some cs event info: -- 0 = Abyssea Debug -- 1 = Mogsack Debug -- ... -- 139 = Janken challenges player to "Rock, Paper, Scissors" -- ... -- 140 = Camera test. -- 141 = "Press confirm button to proceed" nonworking test. -- -----------------...
gpl-3.0
shahabsaf1/merbot.cl
bot/bot.lua
1
6839
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
azekillDIABLO/Voxellar
mods/NODES/default/mapgen.lua
1
42915
-- -- Aliases for map generators -- minetest.register_alias("mapgen_stone", "default:stone") minetest.register_alias("mapgen_dirt", "default:dirt") minetest.register_alias("mapgen_dirt_with_grass", "default:dirt_with_grass") minetest.register_alias("mapgen_sand", "default:sand") minetest.register_alias("mapgen_water_s...
lgpl-2.1
Quenty/NevermoreEngine
src/loader/src/PackageInfoUtils.lua
1
8267
--[=[ Utility methods to build a virtual graph of the existing package information set @private @class PackageInfoUtils ]=] local BounceTemplateUtils = require(script.Parent.BounceTemplateUtils) local LoaderConstants = require(script.Parent.LoaderConstants) local Queue = require(script.Parent.Queue) local ScriptInf...
mit
farrajota/human_pose_estimation_torch
tests/crop_comparison.lua
1
2804
--[[ Test the data generator. --]] require 'torch' require 'paths' require 'string' disp = require 'display' torch.manualSeed(4) paths.dofile('../projectdir.lua') -- Project directory utils = paths.dofile('../util/utils.lua') local opts = paths.dofile('../options.lua') opt = opts.parse(arg) opt.dataset = 'lsp' ...
mit
ffxiphoenix/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Light.lua
17
2270
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Light -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/global...
gpl-3.0
hewei-chn/resurgence
examples/tutorial-constants.lua
6
1473
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 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 dis...
gpl-2.0
AfuSensi/Mr.Green-MTA-Resources
resources/[admin]/admin/server/admin_sync.lua
1
11755
--[[********************************** * * Multi Theft Auto - Admin Panel * * admin_sync.lua * * Original File by lil_Toady * **************************************]] function aSynchCoroutineFunc( type, data ) local source = source -- Needed if checkClient( false, source, 'aSync', type ) then return end local cor ...
mit
kondrak/ProDBG
bin/macosx/tundra/scripts/tundra/tools/vbcc.lua
25
1563
module(..., package.seeall) local native = require "tundra.native" function apply(env, options) -- load the generic C toolset first tundra.unitgen.load_toolset("generic-cpp", env) -- Also add assembly support. tundra.unitgen.load_toolset("generic-asm", env) local vbcc_root = assert(native.getenv("VBCC"), "...
mit
ffxiphoenix/darkstar
scripts/zones/The_Eldieme_Necropolis/TextIDs.lua
9
2300
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6543; -- Obtained: <item> GIL_OBTAINED = 6544; -- Obtained <number> gil KEYITEM_OBTAINED = 6546; -- Obtain...
gpl-3.0
usstwxy/luarocks
src/luarocks/upload/multipart.lua
25
2800
local multipart = {} local File = {} local unpack = unpack or table.unpack math.randomseed(os.time()) -- socket.url.escape(s) from LuaSocket 3.0rc1 function multipart.url_escape(s) return (string.gsub(s, "([^A-Za-z0-9_])", function(c) return string.format("%%%02x", string.byte(c)) end)) end function F...
mit
ffxiphoenix/darkstar
scripts/zones/Windurst_Walls/npcs/Pakke-Pokke.lua
38
1040
----------------------------------- -- Area: Windurst Walls -- NPC: Pakke-Pokke -- Type: Standard NPC -- @zone: 239 -- @pos -3.464 -17.25 125.635 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ---------...
gpl-3.0
noooway/love2d_arkanoid_tutorial
3-13_Score/buttons.lua
8
2279
local vector = require "vector" local buttons = {} function buttons.new_button( o ) return( { position = o.position or vector( 300, 300 ), width = o.width or 100, height = o.height or 50, text = o.text or "hello", image = o.image or nil, quad = o.quad or nil, quad_when_sel...
mit
noooway/love2d_arkanoid_tutorial
3-14_Fonts/buttons.lua
8
2279
local vector = require "vector" local buttons = {} function buttons.new_button( o ) return( { position = o.position or vector( 300, 300 ), width = o.width or 100, height = o.height or 50, text = o.text or "hello", image = o.image or nil, quad = o.quad or nil, quad_when_sel...
mit
noooway/love2d_arkanoid_tutorial
3-15_MoreSounds/buttons.lua
8
2279
local vector = require "vector" local buttons = {} function buttons.new_button( o ) return( { position = o.position or vector( 300, 300 ), width = o.width or 100, height = o.height or 50, text = o.text or "hello", image = o.image or nil, quad = o.quad or nil, quad_when_sel...
mit
noooway/love2d_arkanoid_tutorial
3-11_WallTiles/buttons.lua
8
2279
local vector = require "vector" local buttons = {} function buttons.new_button( o ) return( { position = o.position or vector( 300, 300 ), width = o.width or 100, height = o.height or 50, text = o.text or "hello", image = o.image or nil, quad = o.quad or nil, quad_when_sel...
mit
ffxiphoenix/darkstar
scripts/zones/Upper_Jeuno/npcs/Emitt.lua
28
3228
----------------------------------- -- Area: Upper Jeuno -- NPC: Emitt -- @pos -95 0 160 244 ------------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("s...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Sauromugue_Champaign/npcs/Cavernous_Maw.lua
16
2985
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Cavernous Maw -- Teleports Players to Sauromugue_Champaign_S -- @pos 369 8 -227 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Newton_Movalpolos/npcs/Moblin_Showman.lua
16
1026
----------------------------------- -- Area: Newton Movalpolos -- NPC: Moblin Showman - Bugbear Matman -- @pos 124.544 19.988 -60.670 12 ----------------------------------- package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Newton_Movalp...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Balgas_Dais/npcs/Burning_Circle.lua
17
2294
----------------------------------- -- Area: Balga's Dais -- NPC: Burning Circle -- Balga's Dais Burning Circle -- @pos 299 -123 345 146 ------------------------------------- package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); ...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/mobskills/Chains_of_Cowardice.lua
25
1179
--------------------------------------------- -- Chains of Apathy -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/keyitems"); require("scripts/zones/Empyreal_Paradox/TextIDs"); -...
gpl-3.0
ffxiphoenix/darkstar
scripts/commands/addmission.lua
25
1173
--------------------------------------------------------------------------------------------------- -- func: @addmission <logID> <missionID> <player> -- desc: Adds a mission to the GM or target players log. --------------------------------------------------------------------------------------------------- cmdprop...
gpl-3.0
DarkJaguar91/DJBags
src/bank/BankFrame.lua
1
1163
local ADDON_NAME, ADDON = ... local bankFrame = {} bankFrame.__index = bankFrame function DJBagsRegisterBankFrame(self, bags) for k, v in pairs(bankFrame) do self[k] = v end ADDON.eventManager:Add('BANKFRAME_OPENED', self) ADDON.eventManager:Add('BANKFRAME_CLOSED', self) table.insert(UI...
mit
ffxiphoenix/darkstar
scripts/globals/weaponskills/piercing_arrow.lua
30
1643
----------------------------------- -- Piercing Arrow -- Archery weapon skill -- Skill level: 40 -- Ignores enemy's defense. Amount ignored varies with TP. -- The amount of defense ignored is 0% with 100TP, 35% with 200TP and 50% with 300TP. -- Typically does less damage than Flaming Arrow. -- Aligned with the S...
gpl-3.0