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
Wiladams/LJIT2s2n
S2NConfig.lua
1
2022
local ffi = require("ffi") local s2n_api = require("api.s2n_ffi") local S2NConfig = {} setmetatable(S2Config, { __call = function(self, ...) return self:new(...); end, }) local S2Config_mt = { __index = S2Config } function S2NConfig.init(self, ...) local obj = { } setmetatable(obj, S2Config_mt); return obj...
mit
AliKhodadad/telewild1
bot/utils.lua
646
23489
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
mahdikord/mahdibaran
bot/utils.lua
646
23489
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
PicassoCT/Journeywar
LuaUI/Fonts/FreeSansBoldWOutline_14.lua
27
33857
-- $Id: FreeSansBold_14.lua 2491 2008-07-17 13:36:51Z det $ local fontSpecs = { srcFile = [[FreeSansBold.ttf]], family = [[FreeSans]], style = [[Bold]], yStep = 15, height = 14, xTexSize = 512, yTexSize = 256, outlineRadius = 2, outlineWeight = 100, } local glyphs = {} glyphs[32] = { --'...
gpl-3.0
b03605079/darkstar
scripts/globals/status.lua
1
70531
------------------------------------ -- -- STATUSES AND MODS -- -- Contains variable-ized definitions of things like core enums for use in lua scripts. ------------------------------------ ------------------------------------ -- Job IDs ------------------------------------ JOB_NON = 0; JOB...
gpl-3.0
DI3HARD139/dcb-everamzah-
mods/mysql_auth/auth_txt_import.lua
1
1878
local modname = minetest.get_current_modname() local modpath = minetest.get_modpath(modname) local thismod = _G[modname] function thismod.import_auth_txt() minetest.log('action', modname .. ": Importing auth.txt") local auth_file_path = minetest.get_worldpath() .. '/auth.txt' local create_auth_stmt = thismod.c...
gpl-3.0
MOSAVI17/idbot
plugins/apod.lua
8
1663
local command = 'apod [query]' local doc = [[``` /apod [query] Returns the Astronomy Picture of the Day. If the query is a date, in the format YYYY-MM-DD, the APOD of that day is returned. /apodhd [query] Returns the image in HD, if available. /apodtext [query] Returns the explanation of the APOD. Source: nasa.gov ```]...
gpl-2.0
b03605079/darkstar
scripts/globals/spells/bluemagic/foot_kick.lua
3
1039
require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/bluemagic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; function onSpellCast(caster,target,sp...
gpl-3.0
codedustgames/caress-framework
tests/classes/SimpleActor.lua
1
1555
-- Caress, a small framework for games in lua and love. -- Copyright (C) 2016 Erivaldo Filho "desadoc@gmail.com" -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as published by -- the Free Software Foundation, either version 3 of t...
gpl-3.0
b03605079/darkstar
scripts/zones/Labyrinth_of_Onzozo/npcs/Grounds_Tome.lua
34
1146
----------------------------------- -- Area: Labyrinth of Onzozo -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onT...
gpl-3.0
b03605079/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
b03605079/darkstar
scripts/zones/East_Sarutabaruta/npcs/Taby_Canatahey.lua
34
1067
----------------------------------- -- Area: East Sarutabaruta -- NPC: Taby Canatahey -- @pos -119.119 -4.106 -524.347 116 ----------------------------------- package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/zones/East_Sarutabaruta/TextIDs...
gpl-3.0
PicassoCT/Journeywar
gamedata/explosions/cheadlaunch.lua
1
1769
-- trail_ar2 return { ["cheadlaunch"] = { bitmapmuzzleflame = { air = true, class = [[CBitmapMuzzleFlame]], count = 3, ground = true, underwater = 1, water = true, pro...
gpl-3.0
PicassoCT/Journeywar
units/gaia/gapartmentC.lua
1
1095
local unitName = "gapartmentc" local unitDef = { name = "Abandoned Building", Description = "for sale - quiet location - no kids ", objectName = "gapartmentc.s3o", script = "gDeco.lua", buildPic = "placeholder.png", levelGround =false, --cost buildCostMetal = 15, buildCostEnergy = 1, buildTime = 1, --Health maxDamage ...
gpl-3.0
kostik1337/Urho3D
bin/Data/LuaScripts/09_MultipleViewports.lua
24
13081
-- Multiple viewports example. -- This sample demonstrates: -- - Setting up two viewports with two separate cameras -- - Adding post processing effects to a viewport's render path and toggling them require "LuaScripts/Utilities/Sample" local rearCameraNode = nil function Start() -- Execute the ...
mit
b03605079/darkstar
scripts/zones/Norg/npcs/Washu.lua
17
3559
----------------------------------- -- Area: Norg -- NPC: Washu -- Involved in Quest: Yomi Okuri -- Starts and finishes Quest: Stop Your Whining -- @pos 49 -6 15 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
Aquanim/Zero-K
lups/lups.lua
6
32281
-- $Id: lups.lua 4099 2009-03-16 05:18:45Z jk $ --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- -- -- file: api_gfx_lups.lua -- brief: Lua Particle System -- authors: jK --...
gpl-2.0
Anubhav652/GTW-RPG
[maps]/GTWcoremap/core_map.lua
1
37282
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
gpl-3.0
b03605079/darkstar
scripts/globals/spells/absorb-int.lua
2
1263
-------------------------------------- -- Spell: Absorb-INT -- Steals an enemy's intelligence. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --------...
gpl-3.0
kkvskkkk/NPLRuntime
Server/trunk/LuaJIT-2.1/src/host/genminilua.lua
47
12039
---------------------------------------------------------------------------- -- Lua script to generate a customized, minified version of Lua. -- The resulting 'minilua' is used for the build process of LuaJIT. ---------------------------------------------------------------------------- -- Copyright (C) 2005-2017 Mike P...
gpl-2.0
lyn0328/FrameSynchro
Trunk/Client/src/framework/cc/Registry.lua
23
1841
local Registry = class("Registry") Registry.classes_ = {} Registry.objects_ = {} function Registry.add(cls, name) assert(type(cls) == "table" and cls.__cname ~= nil, "Registry.add() - invalid class") if not name then name = cls.__cname end assert(Registry.classes_[name] == nil, string.format("Registry.ad...
gpl-3.0
nasomi/darkstar
scripts/zones/Northern_San_dOria/npcs/Dapraugeant.lua
36
1430
----------------------------------- -- Area: Northern San d'Oria -- NPC: Dapraugeant -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/que...
gpl-3.0
znek/xupnpd
src/plugins/xupnpd_netstreamsat.lua
7
2766
-- Plugin for Netstreamsat -- Copyright (C) 2012-2013 Mario Stephan -- mstephan@shared-files.de -- #EXTM3U name="Live TV" type=mpeg plugin=netstreamsat dlna_extras=mpeg_ts -- #EXTINF:0,Das Erste -- http://netstreamsat/stream/nameDasErste -- #EXTINF:0,ZDF -- http://netstreamsat/stream/nameZDF -- #EXTINF:0,RTL Televisio...
gpl-2.0
hamishforbes/lua-resty-iputils
lib/resty/iputils.lua
1
5067
local ipairs, tonumber, tostring, type = ipairs, tonumber, tostring, type local bit = require("bit") local lshift = bit.lshift local band = bit.band local bor = bit.bor local xor = bit.bxor local byte = string.byte local str_find = string.find local str_sub = string.sub local ...
mit
nicholas-leonard/nn
VolumetricReplicationPadding.lua
15
2475
local VolumetricReplicationPadding, parent = torch.class('nn.VolumetricReplicationPadding', 'nn.Module') function VolumetricReplicationPadding:__init(pleft, pright, ptop, pbottom, pfront, pback) parent.__init(self) self.pleft = pleft self.pright = pright or self...
bsd-3-clause
shangjiyu/luci-with-extra
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua
74
2567
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010-2012 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2010 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local sys = require "luci.sys" local inits = { } for _, name ...
apache-2.0
nasomi/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Migran.lua
37
1542
----------------------------------- -- Area: Tavnasian Safehold -- NPC: Migran -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------------...
gpl-3.0
nasomi/darkstar
scripts/globals/items/bowl_of_sunset_soup.lua
35
1498
----------------------------------------- -- ID: 4341 -- Item: bowl_of_sunset_soup -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- HP Recovered While Healing 5 -- Ranged Accuracy % 9 (cap 20) ----------------------------------------- require("scripts/...
gpl-3.0
nasomi/darkstar
scripts/commands/send.lua
17
14247
--------------------------------------------------------------------------------------------------- -- func: @zoneplayer <player1> (<player2) or zone) -- desc: Teleport a player to: -- A) The given zone -- B) another player -- --------------------------------------------------------------------------------------...
gpl-3.0
codeacula/achaea-neko
Services/Mapper/mapper.lua
1
9074
-- Handles the Neko map local MapperService = {} Neko.mapper = MapperService -- All the areas MapperService.areas = {} -- All the areas by their name MapperService.areasByName = {} -- Are we mapping? MapperService.mapping = true -- Should the mapper not talk? MapperService.suppressSay = false -- Where can we get ...
mit
appaquet/torch-android
src/3rdparty/luasocket-2.0.2/ftp.lua
144
9120
----------------------------------------------------------------------------- -- FTP support for the Lua language -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: ftp.lua,v 1.45 2007/07/11 19:25:47 diego Exp $ ----------------------------------------------------------------------------- -------------------...
bsd-3-clause
ngeiswei/ardour
share/scripts/_vamp_example.lua
6
2271
ardour { ["type"] = "Snippet", name = "Vamp Plugin Example" } function factory () return function () -- get a list of all available plugins -- http://manual.ardour.org/lua-scripting/class_reference/#ARDOUR:LuaAPI:Vamp -- returns a http://manual.ardour.org/lua-scripting/class_reference/#C:StringVector local plugin...
gpl-2.0
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
68
4034
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-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 htt...
gpl-2.0
nasomi/darkstar
scripts/globals/spells/vital_etude.lua
18
1614
----------------------------------------- -- Spell: Vital Etude -- Static VIT Boost, BRD 70 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- fun...
gpl-3.0
Nathan22Miles/sile-0.9.1
packages/grid.lua
1
1671
local gridSpacing -- Should be a setting local leadingFor = function(this, vbox, previous) if not this.frame.state.totals.gridCursor then this.frame.state.totals.gridCursor = 0 end if not previous then return SILE.nodefactory.newVglue({height = SILE.length.new()}); end this.frame.state.totals.gridCursor =...
mit
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/metropolis_torso_rifle_walk_5.meta.lua
2
2803
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 0.43000000715255737, amplification = 140, light_colors = { "89 31 168 255", "48 42 88 255", "61 16 123 0" }, radius = { x = 80, y = 80 }, standard_deviati...
agpl-3.0
RhenaudTheLukark/CreateYourFrisk
Assets/Mods/Examples 2/Lua/Events/Secret/68302eae.lua
1
2953
function EventPage0() if Event.GetAnimHeader("Player") ~= "Asriel" then Event.Remove(Event.GetName() .. " (1)") Event.Remove(Event.GetName()) end end function EventPage1() local playerSprite = Event.GetSprite("Player") local friskSprite = Event.GetSprite(Event.GetName()) local black...
gpl-3.0
haka-security/haka
modules/protocol/tcp/tcp_connection.lua
2
18812
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. local class = require("class") local check = require("check") local ipv4 = require("protocol/ipv4") local tcp = requ...
mpl-2.0
nasomi/darkstar
scripts/zones/Garlaige_Citadel_[S]/npcs/Randecque.lua
21
1805
----------------------------------- -- Area: Garlaige Citadel [S] -- NPC: Randecque -- @pos 61 -6 137 164 -- Notes: Gives Red Letter required to start "Steamed Rams" ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel_[S]/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
appaquet/torch-android
src/3rdparty/nn/CMulTable.lua
13
1083
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module') function CMulTable:__init() parent.__init(self) self.gradInput = {} end function CMulTable:updateOutput(input) self.output:resizeAs(input[1]):copy(input[1]) for i=2,#input do self.output:cmul(input[i]) end return self.output e...
bsd-3-clause
nasomi/darkstar
scripts/zones/Lower_Jeuno/npcs/Amalasanda.lua
19
1284
----------------------------------- -- Area: Lower Jeuno -- NPC: Amalasanda -- Type: Tenshodo Merchant -- @pos 28.149 2.899 -44.780 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
actboy168/YDWE
Development/Component/plugin/w3x2lni/script/core/slk/backend_w3i.lua
2
14974
local lang = require 'lang' local table_insert = table.insert local table_sort = table.sort local table_concat = table.concat local string_char = string.char local type = type local pairs = pairs local setmetatable = setmetatable local function pack_flag(data) local flag = 0 for i = 1, #data do flag...
gpl-3.0
nasomi/darkstar
scripts/zones/Southern_San_dOria/npcs/Diary.lua
17
2122
----------------------------------- -- Area: Northern San d'Oria -- NPC: Diary -- Involved in Quest: To Cure a Cough -- @zone 230 -- @pos -75 -12 65 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
nasomi/darkstar
scripts/globals/spells/victory_march.lua
18
1419
----------------------------------------- -- Spell: Victory March -- Gives party members Haste ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spe...
gpl-3.0
nasomi/darkstar
scripts/zones/Lower_Jeuno/npcs/Audee.lua
28
1799
----------------------------------- -- Area: Lower Jeuno -- NPC: Audee -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ------------------------------...
gpl-3.0
jungomi/dotfiles
.config/nvim/lua/theme.lua
1
14066
local reset_highlight = require("utils.highlight").reset_highlight local colours = { red = "#df5f5f", green = "#66b766", orange = "#e39a34", blue = "#5f87d7", purple = "#b169b1", cyan = "#52a6a5", yellow = "#ffd75f", grey = "#8e8e8e", light_orange = "#f3bd49", light_grey = "#d3d0c8", light_red =...
mit
nasomi/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
nasomi/darkstar
scripts/globals/mobskills/Damnation_Dive.lua
18
1351
--------------------------------------------- -- Damnation Dive -- -- Description: Dives into a single target. Additional effect: Knockback + Stun -- Type: Physical -- Utsusemi/Blink absorb: 3 shadow -- Range: Melee -- Notes: Used instead of Gliding Spike by certain notorious monsters. ---------------------------...
gpl-3.0
nasomi/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
nasomi/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
nasomi/darkstar
scripts/globals/spells/fire_carol.lua
18
1502
----------------------------------------- -- Spell: Fire Carol -- Increases fire resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Port_Windurst/npcs/Hakkuru-Rinkuru.lua
17
7052
----------------------------------- -- Area: Port Windurst -- NPC: Hakkuru-Rinkuru -- Involved In Quest: Making Amends -- Starts and Ends Quest: Wonder Wands -- @pos -111 -4 101 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; package.loaded["scripts/globals/...
gpl-3.0
nicholas-leonard/nn
BatchNormalization.lua
8
6422
--[[ This file implements Batch Normalization as described in the paper: "Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift" by Sergey Ioffe, Christian Szegedy This implementation is useful for inputs NOT coming from convol...
bsd-3-clause
nasomi/darkstar
scripts/zones/Bastok_Mines/npcs/Tami.lua
36
2714
----------------------------------- -- Area: Bastok Mines -- NPC: Tami -- Starts & Finishes Repeatable Quest: Groceries -- Note: Repeatable until proper completion ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
jotson/1gam-jan2013
fuel.lua
1
6676
-- January2013 -- Copyright © 2013 John Watson <john@watson-net.com> -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights to -- use...
mit
kenyh0926/DBProxy
lib/active-queries.lua
4
4104
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, 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
nasomi/darkstar
scripts/zones/Ranguemont_Pass/npcs/Waters_of_Oblivion.lua
17
2199
----------------------------------- -- Area: Ranguemont Pass -- NPC: Waters of Oblivion -- Finish Quest: Painful Memory (BARD AF1) -- @pos -284 -45 210 166 ----------------------------------- package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ------...
gpl-3.0
nasomi/darkstar
scripts/zones/Windurst_Woods/TextIDs.lua
9
5690
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory. ITEM_OBTAINED = 6543; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>> GIL_OBTAINED = 6544; -- O...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/orange_fish_4.meta.lua
16
1592
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 80, light_colors = { "255 102 0 255" }, radius = { x = 80, y = 80 }, standard_deviation = 5 }, generate_desaturation = false }, offsets = {...
agpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/orange_fish_8.meta.lua
16
1592
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 80, light_colors = { "255 102 0 255" }, radius = { x = 80, y = 80 }, standard_deviation = 5 }, generate_desaturation = false }, offsets = {...
agpl-3.0
nasomi/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua
38
1038
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Cannau -- Type: Escort NPC -- @pos 419.838 -56.999 -114.870 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldie...
gpl-3.0
nasomi/darkstar
scripts/globals/items/carpenters_belt.lua
30
1212
----------------------------------------- -- ID: 15444 -- Item: Carpenter's belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Woodworking Skill +3 ----------------------------------------- re...
gpl-3.0
nasomi/darkstar
scripts/globals/weaponskills/geirskogul.lua
18
2004
----------------------------------- -- Geirskogul -- Polearm weapon skill -- Skill Level: N/A -- Gae Assail/Gungnir: Shock Spikes. -- This weapon skill is only available with the stage 5 relic Polearm Gungnir, within Dynamis with the stage 4 Gae Assail, or by activating the latent effect on the Skogul Lance. -- A...
gpl-3.0
nasomi/darkstar
scripts/globals/items/bloody_bolt.lua
11
1425
----------------------------------------- -- ID: 18151 -- Item: Bloody Bolt -- Additional Effect: Drains HP ----------------------------------------- require("scripts/globals/status"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- function onAdditionalEf...
gpl-3.0
nasomi/darkstar
scripts/zones/Port_Bastok/npcs/Juroro.lua
17
5440
----------------------------------- -- Area: Port Bastok -- NPC: Juroro -- Starts and Finishes Quest: Trial by Earth -- @pos 32 7 -41 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
ngeiswei/ardour
share/scripts/_add_x42_compressor.lua
2
1074
ardour { ["type"] = "EditorAction", name = "Add x42 Dynamic Compressor", license = "MIT", author = "Vincent Tassy", description = [[Adds a x42 Dynamic Compressor on the current track]] } function factory () return function () local sel = Editor:get_selection () local proc = nil -- for each s...
gpl-2.0
nasomi/darkstar
scripts/globals/items/bowl_of_sprightly_soup.lua
36
1326
----------------------------------------- -- ID: 5930 -- Item: Bowl of Sprightly Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- MP 30 -- Mind 4 -- HP Recovered While Healing 4 -- Enmity -4 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Apollyon/bcnms/SE_Apollyon.lua
19
1396
----------------------------------- -- Area: Appolyon -- Name: SE_Apollyon ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[SE_Apollyon]UniqueI...
gpl-3.0
nasomi/darkstar
scripts/zones/Southern_San_dOria/npcs/Arpetion.lua
36
1469
----------------------------------- -- Area: Southern San d'Oria -- NPC: Arpetion -- General Info NPC -- @zone 230 -- @pos -11 1 -30 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings...
gpl-3.0
Samanj5/spam-is-alive
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
shangjiyu/luci-with-extra
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua
9
3163
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" m = Map("system", translate("Router Password"), translate("Changes the administrator password for accessing the device")) s = ...
apache-2.0
jotson/1gam-jan2013
zoetrope/core/mouse.lua
6
4996
-- Class: Mouse -- This tracks the state of the mouse, i.e. its coordinates onscreen -- and if a button was just pressed or released this frame. -- -- See http://love2d.org/wiki/MouseConstant for a list of mouse button names. -- -- Extends: -- <Sprite> Mouse = Sprite:extend{ visible = false, -- private property: _...
mit
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/datum_gun_magazine.meta.lua
2
2239
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 130, light_colors = { "0 255 255 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 }, generate_desaturation = false }, offsets = ...
agpl-3.0
RhenaudTheLukark/CreateYourFrisk
Assets/Mods/@OverWorld Test/Lua/Events/Secret/8ba3f2c2.lua
1
3150
function EventPage0() if Event.GetAnimHeader("Player") ~= "MK" then Event.Remove(Event.GetName() .. " (1)") Event.Remove(Event.GetName()) end end function EventPage1() local playerSprite = Event.GetSprite("Player") local charaSprite = Event.GetSprite("8ba3f2c2 (1)") local maskSprite...
gpl-3.0
dani-sj/soheyl
plugins/chatbot.lua
21
2121
local function run(msg) if msg.text == "یاقی" then return "کی اسم سازندمو صدا زد؟" end if msg.text == "Umbrella" then return "کیر نود32 هم نی" end if msg.text == "umbrella" then return "کیر نود32 هم نی" end if msg.text == "نود32" then return "hum?" end if msg.text == "اسپم" then return "کس ننت میذارم بخای اسپم کن...
gpl-2.0
actboy168/YDWE
Development/Component/plugin/w3x2lni/script/core/slk/frontend_lml_v0.lua
2
2490
local lang = require 'lang' local w2l local wtg local wct local loader local function load_custom() wct.custom = { comment = loader('code.txt') or '', code = loader('code.j') or '', } end local function load_vars() wtg.vars = w2l:parse_lml(loader('variable.lml') or '') end local funct...
gpl-3.0
nicholas-leonard/nn
hessian.lua
8
16620
---------------------------------------------------------------------- -- hessian.lua: this file appends extra methods to modules in nn, -- to estimate diagonal elements of the Hessian. This is useful -- to condition learning rates individually. ---------------------------------------------------------------------- nn....
bsd-3-clause
nasomi/darkstar
scripts/zones/Mhaura/npcs/Panoru-Kanoru.lua
34
1081
---------------------------------- -- Area: Mhaura -- NPC: Panoru-Kanoru -- Type: Item Deliverer -- @pos 5.241 -4.035 93.891 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); -------...
gpl-3.0
nasomi/darkstar
scripts/zones/Bastok_Mines/npcs/Emaliveulaux.lua
30
1948
----------------------------------- -- Area: Bastok Mines -- NPC: Emaliveulaux -- Only sells when Bastok controls the Tavnazian Archipelago -- Only available to those with CoP Ch. 4.1 or higher ----------------------------------- require("scripts/globals/events/harvest_festivals"); require...
gpl-3.0
actboy168/YDWE
Development/Component/plugin/w3x2lni/script/core/slk/backend_computed.lua
2
5457
local lang = require 'lang' local w2l local displaytype = { unit = lang.script.UNIT, ability = lang.script.ABILITY, item = lang.script.ITEM, buff = lang.script.BUFF, upgrade = lang.script.UPGRADE, doodad = lang.script.DOODAD, destructable = lang.script.DESTRUCTABLE, } local function get_di...
gpl-3.0
vavrusa/luajit-libuv
src/uv/ctypes/uv_tcp_t.lua
2
3435
local ffi = require 'ffi' local async = require 'uv/util/async' local ctype = require 'uv/util/ctype' local join = require 'uv/util/join' local libuv = require 'uv/libuv' local libuv2 = require 'uv/libuv2' local libc = require 'uv/libc' local uv_buf_t = require 'uv/ctypes/uv_buf_t' local uv_connect_t = require 'uv/ctyp...
mit
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/resistance_torso_heavy_walk_2.meta.lua
2
2768
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 0.40000000596046448, amplification = 100, light_colors = { "223 113 38 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 }, generate_desaturation = fals...
agpl-3.0
nasomi/darkstar
scripts/zones/Lower_Jeuno/npcs/Yatniel.lua
19
1797
----------------------------------- -- Area: Lower Jeuno -- NPC: Yatniel -- Type: Standard NPC -- @zone: 245 -- @pos -66.817 -7 -126.594 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; --------------------...
gpl-3.0
renyaoxiang/QSanguosha-For-Hegemony
lang/zh_CN/Audio/FormationLines.lua
2
3443
--[[******************************************************************** Copyright (c) 2013-2015 Mogara This file is part of QSanguosha-Hegemony. This game 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...
gpl-3.0
nasomi/darkstar
scripts/zones/RoMaeve/Zone.lua
16
2428
----------------------------------- -- -- Zone: RoMaeve (122) -- ----------------------------------- package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RoMaeve/TextIDs"); require("scripts/globals/zone"); --...
gpl-3.0
Nathan22Miles/sile-0.9.1
core/typesetter.lua
1
13645
-- This is the default typesetter. You are, of course, welcome to create your own. local awful_bad = 1073741823 local inf_bad = 10000 local eject_penalty = -inf_bad local supereject_penalty = 2 * -inf_bad local deplorable = 100000 if std.string.monkey_patch then -- stdlib >= 40 std.string.monkey_patch() end SILE.se...
mit
nasomi/darkstar
scripts/globals/weaponskills/one_inch_punch.lua
30
1549
----------------------------------- -- One Inch Punch -- Hand-to-Hand weapon skill -- Skill level: 75 -- Delivers an attack that ignores target's defense. Amount ignored varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modi...
gpl-3.0
Wouterz90/SuperSmashDota
Game/scripts/vscripts/statcollection/schema_examples/thd2.lua
1
9703
customSchema = class({}) function customSchema:init() -- Check the schema_examples folder for different implementations -- Flag Example statCollection:setFlags({ version = "1.0" }) -- Listen for changes in the current state ListenToGameEvent('game_rules_state_change', function(keys) loca...
mit
appaquet/torch-android
src/3rdparty/paths/init.lua
2
3985
-- require 'libpaths' local assert = assert local debug = debug local pcall = pcall local type = type local ipairs = ipairs local os = os function paths.is_win() return paths.uname():match('Windows') end function paths.is_mac() return paths.uname():match('Darwin') end if paths.is_win() then paths.home = os...
bsd-3-clause
EnjoyHacking/nn
CMulTable.lua
31
1238
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module') function CMulTable:__init() parent.__init(self) self.gradInput = {} end function CMulTable:updateOutput(input) self.output:resizeAs(input[1]):copy(input[1]) for i=2,#input do self.output:cmul(input[i]) end return self.output e...
bsd-3-clause
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
86
2540
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
gpl-2.0
appaquet/torch-android
src/exe/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...
bsd-3-clause
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/jellyfish_13.meta.lua
28
1948
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 90, light_colors = { "20 248 255 255", "3 216 255 255", "23 78 234 255" }, radius = { x = 60, y = 60 }, standard_deviation = 8 }, ...
agpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/jellyfish_6.meta.lua
28
1948
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 90, light_colors = { "20 248 255 255", "3 216 255 255", "23 78 234 255" }, radius = { x = 60, y = 60 }, standard_deviation = 8 }, ...
agpl-3.0
shangjiyu/luci-with-extra
applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
82
4185
-- ------ extra functions ------ -- function ruleCheck() -- determine if rule needs a protocol specified local sourcePort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".src_port")) local destPort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".dest_port")) if sourcePort ~= "" or d...
apache-2.0
bnfinet/lasso
examples/OpenResty/lua/group_auth.lua
1
1160
-- ============================== -- Group Authentication -- via X-Vouch-IdP-Groups -- ============================== -- Validate that a user is in a group local authorized_groups = Set { "CN=Domain Users,CN=Users,DC=Contoso,DC=com", "CN=Website Users,CN=Users,DC=Contoso,DC=com" } -- Verify the variable ...
mit
nasomi/darkstar
scripts/zones/Mhaura/npcs/Willah_Maratahya.lua
17
3611
----------------------------------- -- Area: Mhaura -- NPC: Willah Maratahya -- Title Change NPC -- @pos 23 -8 63 249 ----------------------------------- require("scripts/globals/titles"); local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , ...
gpl-3.0
nasomi/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fr.lua
34
2570
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: South Plate -- @pos 180 -34 -31 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ------------------------...
gpl-3.0
VideahGams/discord.lua
discord/json.lua
1
8629
-- -- json.lua -- -- Copyright (c) 2015 rxi -- -- This library is free software; you can redistribute it and/or modify it -- under the terms of the MIT license. See LICENSE for details. -- local json = { _version = "0.1.0" } -- Encode local encode local escape_char_map = { [ "\\" ] = "\\\\", [ "\"" ] = "\\\"", ...
mit
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua
76
3146
--[[ Luci diag - Diagnostics controller module (c) 2009 Daniel Dickinson 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 ]]-- module("luci.cont...
gpl-2.0