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
xpol/luainstaller
luarocks/win32/LuaRocks.reg.lua
10
1142
-- Call this file using its full path and the template file as a parameter; -- -- C:\> lua.exe "LuaRocks.reg.lua" "c:\luarocks\2.0\LuaRocks.reg.template" -- -- it will strip the ".template" extension and write to that file the -- template contents, where "<LUAROCKSPATH>" will be replaced by the path -- to LuaRocks (inc...
mit
Armyluix/darkstar
scripts/zones/Crawlers_Nest/TextIDs.lua
9
1594
--- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6569; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6574; -- Obtained: <item>. GIL_OBTAINED = 6575; -- Obtained <number> gil. KEYITEM_OBTAINED = 6577; -- Obtaine...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Port_San_dOria/npcs/Meinemelle.lua
14
1146
----------------------------------- -- Area: Port San d'Oria -- NPC: Meinemelle -- Type: Standard NPC -- @zone 232 -- @pos -8.289 -9.3 -146.093 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("s...
gpl-3.0
Armyluix/darkstar
scripts/zones/Al_Zahbi/npcs/Dahaeel.lua
38
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Dahaeel -- Type: Standard NPC -- @zone: 48 -- @pos -58.732 -6.999 68.096 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
tfryett/S4
examples/Li_JOSA_14_2758_1997/ex1_orig.lua
7
1114
-- Example 1A in -- Lifeng Li, -- "New formulation of the Fourier modal method for crossed surface-relief gratings" -- Journal of the Optical Society of America A, Vol. 14, No. 10, p. 2758 (1997) -- This is Fig. 6, curve OCA S = S4.NewSimulation() S:SetLattice({2.5,0}, {0,2.5}) S:SetNumG(200) S:AddMaterial...
gpl-2.0
minin43/nzombies
gamemodes/nzombies/entities/effects/panzer_spawn_tp/init.lua
2
5782
AddCSLuaFile() EFFECT.MatEdge = Material( "effects/tool_tracer" ) EFFECT.MatCenter = Material( "sprites/physbeama" ) EFFECT.MatGlow1 = Material( "sprites/physg_glow1" ) EFFECT.MatGlow2 = Material( "sprites/physg_glow2" ) EFFECT.MatGlowCenter = Material( "sprites/glow04_noz" ) EFFECT.Mat = { --Model("gmod/scope-refra...
gpl-3.0
Armyluix/darkstar
scripts/globals/mobskills/Dark_Wave.lua
18
1178
--------------------------------------------- -- Dark Wave -- -- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: 10' radial -- Notes: Severity of Bio effect varies by time of day, from 8...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Gustav_Tunnel/Zone.lua
1
1743
----------------------------------- -- -- Zone: Gustav Tunnel (212) -- ----------------------------------- package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gustav_Tunnel/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone")...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Batallia_Downs/Zone.lua
1
4151
----------------------------------- -- -- Zone: Batallia_Downs (105) -- ----------------------------------- package.loaded[ "scripts/zones/Batallia_Downs/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require( "scripts/zones/Batallia_Downs/TextIDs"); requi...
gpl-3.0
uspgamedev/backdoor
game/gamestates/animations/heal.lua
1
1355
-- luacheck: globals love MAIN_TIMER local VIEWDEFS = require 'view.definitions' local PARTICLES = require 'view.helpers.particles' local RisingText = require 'view.sector.risingtext' local BodyView = require 'view.sector.bodyview' local AnimationFX = require 'view.helpers.animationfx' local COLORS = re...
gpl-3.0
Armyluix/darkstar
scripts/zones/Western_Altepa_Desert/npcs/qm2.lua
17
1702
----------------------------------- -- Area: Western Altepa Desert -- NPC: qm2 (???) -- Involved in Mission: Bastok 6-1 -- @pos -325 0 -111 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
Armyluix/darkstar
scripts/zones/Windurst_Woods/npcs/Millerovieunet.lua
17
1535
----------------------------------- -- Area: Windurst_Woods -- NPC: Millerovieunet -- Only sells when Windurst controlls Qufim Region -- Confirmed shop stock, August 2013 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- requ...
gpl-3.0
Sosha1996/MegaPFulBot
plugins/linksp.lua
2
1064
--[[ ################################ # # # Link Support # # # # # # by @Dragon_Born "Arian" # # # # # # Modified by GPMod Team # # ...
gpl-2.0
Armyluix/darkstar
scripts/globals/spells/foe_requiem_ii.lua
18
1624
----------------------------------------- -- Spell: Foe Requiem II ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
Nyaa-tan/colony-sim-30
lib/luigi/luigi/widget/window.lua
3
6155
--[[-- Window widget. Set properties of the window with this widget's attributes. This widget should only be used as the root widget of a layout. @usage -- create a new window local window = Layout { type = 'window', icon = 'logo.png', text = 'Window Example', width = 800, height = 600, { icon...
mpl-2.0
minin43/nzombies
gamemodes/nzombies/gamemode/weapons/cl_wepswitch.lua
2
2315
local plyMeta = FindMetaTable( "Player" ) AccessorFunc( plyMeta, "iLastWeaponSlot", "LastWeaponSlot", FORCE_NUMBER) AccessorFunc( plyMeta, "iCurrentWeaponSlot", "CurrentWeaponSlot", FORCE_NUMBER) function plyMeta:SelectWeapon( class ) if ( !self:HasWeapon( class ) ) then return end self.DoWeaponSwitch = self:GetWeapo...
gpl-3.0
jonese1234/PokeBotBad
BizHawk-1.11.6/Lua/ltn12.lua
127
8177
----------------------------------------------------------------------------- -- LTN12 - Filters, sources, sinks and pumps. -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: ltn12.lua,v 1.31 2006/04/03 04:45:42 diego Exp $ ----------------------------------------------------------------------------- -------...
mit
Armyluix/darkstar
scripts/zones/Upper_Jeuno/npcs/Mhao_Kehtsoruho.lua
38
1041
----------------------------------- -- Area: Upper Jeuno -- NPC: Mhao Kehtsoruho -- Type: Past Event Watcher -- @zone: 244 -- @pos -73.032 -1 146.919 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; --------...
gpl-3.0
Armyluix/darkstar
scripts/zones/RaKaznar_Turris/Zone.lua
29
1324
----------------------------------- -- -- Zone: Ra’Kanzar Turris (277) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Turris/TextIDs"); -----------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Waughroon_Shrine/bcnms/shattering_stars.lua
19
1935
----------------------------------- -- Area: Waughroon Shrine -- Name: Shattering stars - Maat Fight -- @pos -345 104 -260 144 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); ----...
gpl-3.0
bitfinder/thrift
lib/lua/TMemoryBuffer.lua
100
2266
-- -- 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
abriasffxi/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Parukoko.lua
14
1061
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Parukoko -- Type: Standard NPC -- @zone 94 -- @pos -32.400 -3.5 -103.666 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ---...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/derfland_pear.lua
18
1191
----------------------------------------- -- ID: 4352 -- Item: derfland_pear -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/himesama_rice_ball.lua
51
1477
----------------------------------------- -- ID: 5928 -- Item: Himesama Rice Ball -- Food Effect: 30 Mins, All Races ----------------------------------------- -- HP +25 -- Dexterity +4 -- Vitality +4 -- Character +4 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Attack +60 -- De...
gpl-3.0
waythe/neuralart
costs.lua
10
2610
-- -- Cost functions -- -- compute the Gramian matrix for input function gram(input) local k = input:size(2) local flat = input:view(k, -1) local gram = torch.mm(flat, flat:t()) return gram end function collect_activations(model, activation_layers, gram_layers) local activations, grams = {}, {} ...
mit
Armyluix/darkstar
scripts/zones/Port_Windurst/npcs/Jack_of_Clubs.lua
35
1236
----------------------------------- -- Area: Port Windurst -- NPC: Jack of Clubs -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Bastok_Markets/npcs/Offa.lua
14
1306
----------------------------------- -- Area: Bastok Markets -- NPC: Offa -- Type: Quest NPC -- @pos -281.628 -16.971 -140.607 235 -- -- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = ni...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gf.lua
14
1364
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gf (Lever C) -- @pos 44 -40.561 -54.199 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); --------------------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Palborough_Mines/npcs/Mining_Point.lua
29
1105
----------------------------------- -- Area: Palborough Mines -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Palborough_Mines/TextIDs"); ...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Al_Zahbi/npcs/Bjibar.lua
14
1037
----------------------------------- -- Area: Al Zahbi -- NPC: Bjibar -- Type: Standard NPC -- @zone 48 -- @pos -105.178 0.999 60.115 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ---------------------------...
gpl-3.0
dios-game/dios-cocos
src/apps/dios-lua-app/Resources/src/cocos/extension/DeprecatedExtensionFunc.lua
61
1351
if nil == cc.Control then return end --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of CCControl will be deprecated end local CCControlDeprecated = { } function CCControlDeprecated.ad...
mit
NalaAlanIrah/cardpeek
dot_cardpeek_dir/scripts/lib/compatibility-with-0.7.lua
17
1952
local DEPRECATED_FUNCS = {} function DEPRECATED_FOR(fname) local func = debug.getinfo(2, "n") local orig = debug.getinfo(3, "lS") if DEPRECATED_FUNCS[func.name]==nil then log.print(log.WARNING,orig.short_src .. "[" .. orig.currentline .. "]: " .. func.name .. "() is deprecated, please use " .. fn...
gpl-3.0
Armyluix/darkstar
scripts/zones/Den_of_Rancor/npcs/Treasure_Coffer.lua
17
3342
----------------------------------- -- Area: Den of Rancor -- NPC: Treasure Coffer -- @zone 160 -- @pos ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems...
gpl-3.0
herrybiscuit/GalacticVoidRM
libs/lovetoys/src/EventManager.lua
3
2487
-- Getting folder that contains our src local folderOfThisFile = (...):match("(.-)[^%/%.]+$") local lovetoys = require(folderOfThisFile .. 'namespace') local EventManager = lovetoys.class("EventManager") function EventManager:initialize() self.eventListeners = {} end -- Adding an eventlistener to a specific even...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/broiled_pipira.lua
35
1371
----------------------------------------- -- ID: 4585 -- Item: Broiled Pipira -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -1 -- Attack % 14 -- Ranged ATT % 14 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
mynameiscraziu/crazy
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
Armyluix/darkstar
scripts/zones/Port_Jeuno/npcs/Supiroro.lua
17
1393
----------------------------------- -- Area: Port Jeuno -- NPC: Supiroro -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
Nyaa-tan/colony-sim-30
lib/luigi/luigi/widget/slider.lua
3
2498
--[[-- A slider. Dragging this widget changes its `value` property to a number between 0 and 1, inclusive. @widget slider --]]-- return function (self) local function clamp (value) return value < 0 and 0 or value > 1 and 1 or value end self.value = clamp(self.value or 0) self.step = self.ste...
mpl-2.0
abriasffxi/darkstar
scripts/globals/abilities/pets/glittering_ruby.lua
26
1148
--------------------------------------------------- -- Glittering Ruby --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbilityCheck(pla...
gpl-3.0
Armyluix/darkstar
scripts/zones/Port_Windurst/npcs/Machu-Kuchu.lua
34
1123
----------------------------------- -- Area: Port Windurst -- Machu-Kuchu -- Warps players to Windurst Walls ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Windurst/TextIDs"); ------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua
14
1889
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Gate: Magical Gizmo -- Involved In Mission: Full Moon Fountain -- @pos -291 0 -659 194 ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/Cermet_Door.lua
27
1148
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Leads to Upper Delkfutt's Tower. -- @pos 524 16 20 184 ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action -----------------------------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Horlais_Peak/bcnms/shattering_stars.lua
19
2368
----------------------------------- -- Area: Horlais Peak -- Name: Shattering stars - Maat Fight -- @pos -509 158 -211 139 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/ques...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Upper_Delkfutts_Tower/npcs/HomePoint#1.lua
27
1293
----------------------------------- -- Area: Upper Delkfutt's Tower -- NPC: HomePoint#1 -- @pos -365 -176.5 -36 158 ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Delkfutts_Tower/TextIDs"); req...
gpl-3.0
mrcpj1998/BulletJumpers
src/objects/player.lua
1
4161
local spriteLayer local player function initPlayer(Layer, entity) print("initPlayer") spriteLayer = map.layers["Sprite Layer"] -- Add Player spriteLayer.player = { image = love.graphics.newImage("graphics/kim.png"), w = 20, h = 29, r = 0, isTouchingGround, xv = 0, momentum = 1, x = entity.x, ...
gpl-2.0
Armyluix/darkstar
scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua
17
1415
----------------------------------- -- Area: West Sarutabaruta -- NPC: Ipupu -- Involved in Quest: Glyph Hanger -- @pos 251.745 -5.5 35.539 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
yuewko/themis
vendor/github.com/apache/thrift/lib/lua/TCompactProtocol.lua
30
13135
-- -- 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
abriasffxi/darkstar
scripts/zones/Attohwa_Chasm/mobs/Sekhmet.lua
14
1780
----------------------------------- -- Area: Attohwa Chasm -- NM: Sekhmet ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize Action ----------------------------------- fun...
gpl-3.0
obelisk21/prosody-modules
mod_tcpproxy/mod_tcpproxy.lua
31
3923
local st = require "util.stanza"; local xmlns_ibb = "http://jabber.org/protocol/ibb"; local xmlns_tcp = "http://prosody.im/protocol/tcpproxy"; local host_attr, port_attr = xmlns_tcp.."\1host", xmlns_tcp.."\1port"; local base64 = require "util.encodings".base64; local b64, unb64 = base64.encode, base64.decode; local...
mit
abriasffxi/darkstar
scripts/zones/Qufim_Island/TextIDs.lua
3
1335
-- 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
Armyluix/darkstar
scripts/globals/items/prime_beef_stewpot.lua
36
1890
----------------------------------------- -- ID: 5548 -- Item: Prime Beef Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 75 -- MP +15 -- Strength +2 -- Agility +1 -- Mind +1 -- HP Recovered while healing +7 -- MP Recovered while healing +2 -- Atta...
gpl-3.0
w01230/openwrt-extra
luci/luci-app-shadowsocks/luasrc/model/cbi/shadowsocks/serverconfig.lua
1
1417
--[[ openwrt-dist-luci: ShadowSocks ]]-- local shadowsocks = "shadowsocks" local ds = require "luci.dispatcher" local m, s, o local encrypt_methods = { "table", "rc4", "rc4-md5", "aes-128-cfb", "aes-192-cfb", "aes-256-cfb", "bf-cfb", "camellia-128-cfb", "camellia-192-cfb", "camellia-256-cfb", "cast5-cfb", ...
mit
v3n/ProDBG
bin/win32/scripts/tundra/tools/msvc-vscommon.lua
13
10620
-- msvc-vscommon.lua - utility code for all versions of Visual Studio module(..., package.seeall) local native = require "tundra.native" local os = require "os" -- Visual Studio tooling layout local vc_bin_map = { ["x86"] = { ["x86"] = "", ["x64"] = "x86_amd64", ["arm"] = "x86_arm", }, ["x64"] = {...
mit
minin43/nzombies
lua/tfa_vox/modules/tfa_vox_nzombies.lua
2
8903
if !MODULE then TFAVOX_Modules_Initialize() return end MODULE.name = "nZombies - Perks, Box, Facilities etc." MODULE.description = "Plays sounds based on nZombies events" MODULE.author = "Zet0r" MODULE.realm = "shared" hook.Add("TFAVOX_InitializePlayer","TFAVOX_nZombiesIP",function(ply) if IsValid(ply) then local ...
gpl-3.0
minin43/nzombies
gamemodes/nzombies/gamemode/q_menu/cl_menu.lua
2
23779
function nzQMenu:CreatePropsMenu( ) -- Data we will need later local data -- Table with spawnlist data local SpawnSheet -- Spawnlist sheet local UtilitySheet -- Utility sheet local CategoryEditor -- Function for creating Category Editor local ReloadSpawnlist -- Function for creating/reloading spawnlist sheet -...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Abyssea-Tahrongi/npcs/qm17.lua
14
1904
----------------------------------- -- Zone: Abyssea-Tahrongi -- NPC: ??? -- Spawns Glavoid -- @pos ? ? ? 45 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- function...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Al_Zahbi/npcs/Allard.lua
17
1180
----------------------------------- -- Area: Al Zahbi -- NPC: Allard -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------- -- onTrade Action --...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/prized_angler_stewpot.lua
18
2003
----------------------------------------- -- ID: 5613 -- Item: Prized Angler's Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% -- MP +20 -- Dexterity 4 -- Agility 2 -- Mind 2 -- HP Recovered while healing 9 -- MP Recovered while healing 3 -- Accuracy 1...
gpl-3.0
uspgamedev/backdoor
game/view/actorpanel/widgets/slot.lua
1
2188
local vec2 = require 'cpml' .vec2 local Node = require 'view.node' local FONT = require 'view.helpers.font' local TweenValue = require 'view.helpers.tweenvalue' local COLORS = require 'domain.definitions.colors' local RES = require 'resources' local Class = require "steaming.ex...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Selbina/npcs/Quelpia.lua
17
1800
----------------------------------- -- Area: Selbina -- NPC: Quelpia -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); ----------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua
22
1841
----------------------------------- -- Area: Dynamis Beaucedine -- MOB: Goblin Statue -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; ----------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua
19
1194
----------------------------------- -- Area: Den_of_Rancor -- NPC: HomePoint#2 -- @pos 182 34 -62 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/TextIDs"); require("scripts/globals/homepoin...
gpl-3.0
LuaDist2/lua-xmlreader
doc/extract_doc.lua
3
2184
modules={} function module(name) if modules[name] then current_module=modules[name] else current_module={name=name, description=""} modules[#modules+1]=name modules[name]=current_module end current_obj=current_module end function signature(name) current_obj = {name=name, params={}, returns={}...
mit
elflang/elf
system.lua
1
2033
if luvit63 then uv = require("uv") luvi = require("luvi") pp = require("pretty-print").prettyPrint utils = require("utils") function luvit_require(path, file) return require("require")(path)(file) end end local function read_file(path) local __id = {io.open(path)} local _f = __id[1] local _e = __i...
bsd-2-clause
abriasffxi/darkstar
scripts/globals/items/dragon_steak.lua
18
1866
----------------------------------------- -- ID: 4350 -- Item: dragon_steak -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 25 -- Strength 7 -- Intelligence -3 -- Health Regen While Healing 2 -- Attack % 20 -- Attack Cap 150 -- Ranged ATT % 20 -- Ranged ATT Cap 150 -- Demon Killer ...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Manaclipper/npcs/Gniyah_Mischatt.lua
14
1028
----------------------------------- -- Area: Manaclipper -- NPC: Gniyah Mischatt -- Type: Adventurer's Assistant -- @pos 0.033 -4 2.725 3 ----------------------------------- package.loaded["scripts/zones/Manaclipper/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Manaclipper/TextIDs"); ...
gpl-3.0
jebenexer/kong
spec/02-integration/02-cmd/06-restart_spec.lua
3
2671
local helpers = require "spec.helpers" describe("kong restart", function() setup(function() helpers.run_migrations() helpers.prepare_prefix() end) teardown(function() helpers.clean_prefix() end) after_each(function() helpers.kill_all() end) it("restart help", function() local _, stde...
apache-2.0
Armyluix/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua
34
1922
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Song Runes -- Finishes Quest: The Old Monument ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ----------------------------------- r...
gpl-3.0
Armyluix/darkstar
scripts/zones/Northern_San_dOria/npcs/Aivedoir.lua
38
1026
----------------------------------- -- Area: Northern San d'Oria -- NPC: Aivedoir -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos -123.119 7.999 134.490 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs")...
gpl-3.0
ElectroDuk/QuackWars
garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/weapons/OldSweps/www_changed/weapon_fiveseven2/shared.lua
2
3050
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) SWEP.HoldType = "pistol" end if ( CLIENT ) then SWEP.PrintName = "FiveSeven" SWEP.Author = "Rickster" SWEP.Slot = 1 SWEP.SlotPos = 7 SWEP.IconLetter = "u" killicon.AddFont( "weapon_fiveseven2", "CSKillIcons", SWEP.IconLetter, Color( 100...
mit
dios-game/dios-cocos
src/apps/lua-tests/Resources/src/cocos/framework/components/event.lua
62
4752
local Event = class("Event") local EXPORTED_METHODS = { "addEventListener", "dispatchEvent", "removeEventListener", "removeEventListenersByTag", "removeEventListenersByEvent", "removeAllEventListeners", "hasEventListener", "dumpAllEventListeners", } function Event:init_() self.tar...
mit
bravnsgaard/premake-core
tests/actions/make/cpp/test_file_rules.lua
3
3740
-- -- tests/actions/make/cpp/test_file_rules.lua -- Validate the makefile source building rules. -- Copyright (c) 2009-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("make_cpp_file_rules") local make = p.make local project = p.project -- -- Setup -- local wks, prj ...
bsd-3-clause
peahonen/domoticz
scripts/dzVents/runtime/tests/testEventHelpersStorage.lua
3
19699
_G._ = require 'lodash' local GLOBAL = false local LOCAL = true _G.TESMODE = true package.path = package.path .. ";../?.lua" local clock = os.clock function sleep(n) -- seconds local t0 = clock() while clock() - t0 <= n do end end local function keys(t) local keys = _.keys(t) return _.sortBy(keys, function(k) ...
gpl-3.0
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/TintTo.lua
11
1667
-------------------------------- -- @module TintTo -- @extend ActionInterval -- @parent_module cc -------------------------------- -- initializes the action with duration and color -- @function [parent=#TintTo] initWithDuration -- @param self -- @param #float duration -- @param #unsigned char red -- @param #unsign...
mit
abriasffxi/darkstar
scripts/zones/Lower_Jeuno/npcs/Creepstix.lua
17
1579
----------------------------------- -- Area: Lower Jeuno -- NPC: Creepstix -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
marel-keytech/jsoncc
templates/c_source.lua
1
27581
local function rtrim(s) local n = #s while n > 0 and s:find("^ ", n) do n = n - 1 end return s:sub(1, n) end local function indent(text) return rtrim(' ' .. string.gsub(text, '\n', '\n ')) end local function match(x) return function(t) return t[x] or t._ end end function copy_table(t) l...
isc
Nyaa-tan/colony-sim-30
lib/luigi/widget/text.lua
3
12309
--[[-- A text entry area. @widget text --]]-- local ROOT = (...):gsub('[^.]*.[^.]*$', '') local utf8 = require(ROOT .. 'utf8') local Backend = require(ROOT .. 'backend') -- make sure selection range doesn't extend past EOT local function trimRange (self) local max = #self.value if self.startIndex > max then ...
mpl-2.0
ElectroDuk/QuackWars
garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/weapons/weapon_mad_noimplementedyet/weapon_mad_p90/shared.lua
2
1577
// Variables that are used on both client and server SWEP.Base = "weapon_mad_base_sniper" SWEP.ViewModelFlip = true SWEP.ViewModel = "models/weapons/v_smg_p90.mdl" SWEP.WorldModel = "models/weapons/w_smg_p90.mdl" SWEP.Spawnable = true SWEP.AdminSpawnable = false SWEP.Primary.Sound = Sound("Weapon_P90....
mit
abriasffxi/darkstar
scripts/zones/Ordelles_Caves/npcs/qm4.lua
14
1431
----------------------------------- -- Area: Ordelles Caves -- NPC: ??? (qm4) -- Involved In Quest: Dark Puppet -- @pos -52 27 -85 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
Armyluix/darkstar
scripts/zones/Uleguerand_Range/npcs/HomePoint#1.lua
19
1189
----------------------------------- -- Area: Uleguerand_Range -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Uleguerand_Range/TextIDs"); require("scripts/globals/homepoint"); ...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Bostaunieux_Oubliette/Zone.lua
1
2204
----------------------------------- -- -- Zone: Bostaunieux_Oubliette (167) -- ----------------------------------- package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bostaunieux_Oubliette/TextIDs"); requir...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Windurst_Woods/npcs/Nikkoko.lua
53
1835
----------------------------------- -- Area: Windurst Woods -- NPC: Nikkoko -- Type: Clothcraft Image Support -- @pos -32.810 -3.25 -113.680 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Ilrusi_Atoll/npcs/Treasure_Coffer.lua
14
1849
----------------------------------- -- Area: -- NPC: Treasure Coffer -- @zone illrusi atoll -- @pos ----------------------------------- package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/globals/bcnm"); requ...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ct.lua
17
2597
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5ct (Magical Gizmo) #5 -- Involved In Mission: The Horutoto Ruins Experiment ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
sbx320/ml_git
vendor/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
gpl-3.0
jstitch/wesnoth
data/ai/micro_ais/cas/ca_herding_sheep_runs_dog.lua
26
1437
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local function get_next_sheep(cfg) local sheep = AH.get_units_with_moves { side = wesnoth.current.side, { "and", cfg.filter_second }, { "filter_adjacent", { side = wesnoth.current.side, { "and", cfg...
gpl-2.0
jstitch/wesnoth
data/ai/micro_ais/micro_ai_helper.lua
26
7240
local H = wesnoth.require "lua/helper.lua" local W = H.set_wml_action_metatable {} local AH = wesnoth.require("ai/lua/ai_helper.lua") local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" local micro_ai_helper = {} function micro_ai_helper.add_CAs(side, CA_parms, CA_cfg) -- Add the candidate ac...
gpl-2.0
obelisk21/prosody-modules
mod_munin/mod_munin.lua
20
3500
module:set_global(); local s_format = string.format; local array = require"util.array"; local it = require"util.iterators"; local mt = require"util.multitable"; local meta = mt.new(); meta.data = module:shared"meta"; local data = mt.new(); data.data = module:shared"data"; local munin_listener = {}; local munin_comma...
mit
abriasffxi/darkstar
scripts/zones/Southern_San_dOria/npcs/Lotte.lua
17
1455
----------------------------------- -- Area: Southern San d'Oria -- NPC: Lotte -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globals/set...
gpl-3.0
Lmaths/lsyncd
examples/lbash.lua
8
1057
----- -- User configuration file for lsyncd. -- -- This example uses local bash commands to keep two local -- directory trees in sync. -- settings = { logfile = "/tmp/lsyncd.log", statusFile = "/tmp/lsyncd.stat", statusIntervall = 1, nodaemon = true, } ----- -- for testing purposes. prefix can ...
gpl-2.0
Armyluix/darkstar
scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua
9
1317
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6553; -- Obtained: <item>. GIL_OBTAINED = 6554; -- Obtained <number> gil. KEYITEM_OBTAINED = 6556; -- Obtained...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Bastok_Markets/npcs/Michea.lua
29
4408
----------------------------------- -- Area: Bastok Markets -- NPC: Michea -- Quest NPC -- Starts: Father Figure (100%) | The Elvaan Goldsmith (100%) -- Involed in: Fetichism | Where Two Paths Converge ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; --------------------...
gpl-3.0
PARADOXTEAM/ParadoxBot
plugins/all.lua
184
4452
do local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print_name(user)..' ['..user_id..']' return u...
agpl-3.0
abriasffxi/darkstar
scripts/zones/Dynamis-Qufim/mobs/Antaeus.lua
23
2217
----------------------------------- -- Area: Dynamis Qufim -- MOB: Antaeus ----------------------------------- package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Qufim/TextIDs"); require("scripts/globals/...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/blind_bolt.lua
41
1057
----------------------------------------- -- ID: 18150 -- Item: Blind Bolt -- Additional Effect: Blindness ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- ...
gpl-3.0
wangdali/skynetw
examples/client.lua
3
1028
package.cpath = "luaclib/?.so" local socket = require "clientsocket" local cjson = require "cjson" local fd = socket.connect("127.0.0.1", 8888) local last local result = {} local function dispatch() while true do local status status, last = socket.recv(fd, last, result) if status == nil then error "Server...
mit
obelisk21/prosody-modules
mod_support_contact/mod_support_contact.lua
32
1757
-- mod_support_contact.lua -- -- Config options: -- support_contact = "support@hostname"; -- a JID -- support_contact_nick = "Support!"; -- roster nick -- support_contact_group = "Users being supported!"; -- the roster group in the support contact's roster local host = module:get_host(); local support_contact =...
mit
ZReCSoft/TetraMino
src/menu.lua
1
5781
menu = {} function menu.load() love.graphics.setBackgroundColor(5/64,5/64,107/256) menu.p = {} menu.p.image = love.graphics.newImage("gfx/pParticles.png") menu.p.image:setFilter("nearest", "nearest") q = { love.graphics.newQuad(0, 0, 12, 8, menu.p.image:getDimensions()), love.graphics.newQuad(12, 0, 12, 8...
gpl-3.0
Nyaa-tan/colony-sim-30
lib/luigi/luigi/style.lua
3
1230
local ROOT = (...):gsub('[^.]*$', '') local Base = require(ROOT .. 'base') local Style = Base:extend() function Style:constructor (rules, lookupNames) self.rules = rules self.lookupNames = lookupNames end function Style:getProperty (object, property, original) local value = rawget(object, property) ...
mpl-2.0
Armyluix/darkstar
scripts/globals/abilities/light_shot.lua
12
2775
----------------------------------- -- Ability: Light Shot -- Consumes a Light Card to enhance light-based debuffs. Additional effect: Light-based Sleep -- Dia Effect: Defense Down Effect +5% and DoT + 1 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ...
gpl-3.0