repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
raymond-w-ko/vim-lua-indent
tests/nmap/cvs.ok.lua
2
3209
--- -- A minimal CVS (Concurrent Versions System) pserver protocol implementation which currently only supports authentication. -- -- @author Patrik Karlsson <patrik@cqure.net> -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html -- -- Version 0.1 -- Created 07/13/2011 - v0.1 - created by Patrik Karlsso...
mit
arcemu/arcemu
src/scripts/lua/Stable Scripts/Outland/Magisters Terrace/UNIT-MagistersTerrace-SunbladeMageGuard.lua
30
1409
--[[ ******************************** * * * The Moon Project * * * ******************************** This software is provided as free and open source by the staff of The Moon Project, in accordance with the GPL license. This means we provide the so...
agpl-3.0
Aquanim/Zero-K
gamedata/unitdefs_post.lua
2
32769
local modOptions = {} if (Spring.GetModOptions) then modOptions = Spring.GetModOptions() end Spring.Echo("Loading UnitDefs_posts") -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Constants? -- VFS.I...
gpl-2.0
stars2014/quick-ng
quick/framework/cc/components/behavior/StateMachine.lua
22
9185
local Component = import("..Component") local StateMachine = class("StateMachine", Component) --[[-- port from Javascript State Machine Library https://github.com/jakesgordon/javascript-state-machine JS Version: 2.2.0 ]] StateMachine.VERSION = "2.2.0" -- the event transitioned successfully from one state to ano...
mit
virtualopensystems/snabbswitch
src/core/config.lua
15
2423
-- 'config' is a data structure that describes an app network. module(..., package.seeall) local lib = require("core.lib") -- API: Create a new configuration. -- Initially there are no apps or links. function new () return { apps = {}, -- list of {name, class, args} links = {} -- table...
apache-2.0
Radseq/otclient
modules/game_battle/battle.lua
5
16637
battleWindow = nil battleButton = nil battlePanel = nil filterPanel = nil toggleFilterButton = nil lastBattleButtonSwitched = nil battleButtonsByCreaturesList = {} creatureAgeList = {} mouseWidget = nil sortTypeBox = nil sortOrderBox = nil hidePlayersButton = nil hideNPCsButton = nil hideMonstersButton = nil hideSkul...
mit
coronalabs-samples/CoronaCannon
libs/databox.lua
2
3538
-- Databox -- This library automatically loads and saves it's storage into databox.json inside Documents directory. -- And it uses iCloud KVS storage on iOS and tvOS. -- It uses metatables to do it's job. -- Require the library and call it with a table of default values. Only 1 level deep table is supported. -- support...
mit
PicassoCT/Journeywar
lups/ParticleClasses/UnitJitter.lua
1
8566
-- $Id: UnitJitter.lua 4454 2009-04-20 11:45:38Z jk $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- local UnitJitter = {} UnitJitter.__in...
gpl-3.0
jsykes/million-tile-engine
legacy/Million Tile Engine 0v984-7 (OLD)/Sample Code/getSprites/mte.lua
20
535846
--mte 0v984-7 local M2 = {} M2.createMTE = function() local M = {} if tonumber(system.getInfo("build")) < 2013.2076 then print("Warning: This build of Corona SDK is not supported.") end local json = require("json") M.physics = require("physics") local ceil = math.ceil local floor = math.f...
mit
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/metropolis_torso_heavy_gtm_3.meta.lua
2
2866
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
nasomi/darkstar
scripts/globals/mobskills/Scorching_Lash.lua
13
1210
--------------------------------------------- -- Scorching Lash -- -- Description: Deals heavy damage to targets behind user. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Back -- Notes: Used only if a target with hate is behind them. Conal behind Cerberus. ----------------------------...
gpl-3.0
Wouterz90/SuperSmashDota
Game/scripts/vscripts/libraries/modifiers/modifier_animation_translate.lua
29
10463
modifier_animation_translate = class({}) local _CODE_TO_ANIMATION_TRANSLATE = { [0]= "loadout", [1]= "split_shot", [2]= "chemical_rage", [3]= "agedspirit", [4]= "aggressive", [5]= "injured", [6]= "ancient_armor", [7]= "anvil", [8]= "arcana", [9]= "techies_arcana", [10]= "fast", [11]= "faster", ...
mit
thesabbir/luci
modules/luci-mod-admin-full/luasrc/controller/admin/uci.lua
40
1769
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.uci", package.seeall) function index() local redir = luci.http.formvalue("redir", true) or luci.dispatcher.build_url(unpack(...
apache-2.0
thesabbir/luci
applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua
68
1868
-- Copyright 2012 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local fs = require "nixio.fs" local utl = require "luci.util" m = Map("freifunk-widgets", translate("Widgets"), translate("Configure installed widget...
apache-2.0
nasomi/darkstar
scripts/zones/Selbina/npcs/Wenzel.lua
38
1034
---------------------------------- -- Area: Selbina -- NPC: Wenzel -- Type: Item Deliverer -- @pos 31.961 -14.661 57.997 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); --------------------...
gpl-3.0
Maliv/SecretBot
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
amirhoseinhastam1/1
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
nasomi/darkstar
scripts/zones/RuLude_Gardens/npcs/_6r8.lua
17
2384
----------------------------------- -- Area: Ru'Lud Gardens -- Door: Windurstian Ambassador -- Windurst Missions 3.3 "A New Journey" and 4.1 "Magicite" -- @pos 31 9 -22 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; package.loaded["scripts/globals/missions"...
gpl-3.0
nasomi/darkstar
scripts/globals/items/bowl_of_vegetable_broth.lua
35
1399
----------------------------------------- -- ID: 4323 -- Item: bowl_of_vegetable_broth -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Vitality -1 -- Agility 5 -- Ranged Accuracy 6 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals...
gpl-3.0
nasomi/darkstar
scripts/zones/Cloister_of_Frost/bcnms/trial-size_trial_by_ice.lua
19
2017
----------------------------------- -- Area: Cloister of Frost -- BCNM: Trial-size Trial by Ice -- @pos 558 0.1 596 203 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/global...
gpl-3.0
shangjiyu/luci-with-extra
applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua
141
1038
--[[ smap_devinfo - SIP Device Information (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 $Id$ ]]-- require("luci.i18n") re...
apache-2.0
appaquet/torch-android
src/pkg/dok/inline.lua
2
15607
-------------------------------------------------------------------------------- -- inline help -- that file defines all the tools and goodies to generate inline help -------------------------------------------------------------------------------- dok.inline = {} --paths.install_dok = paths.concat(paths.install_html, ...
bsd-3-clause
renyaoxiang/QSanguosha-For-Hegemony
lang/zh_CN/Package/StandardWeiGeneral.lua
5
7220
--[[******************************************************************** 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/Tavnazian_Safehold/npcs/Despachiaire.lua
17
2660
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Despachiaire -- @pos 108 -40 -83 26 ----------------------------------- require("scripts/globals/missions"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade...
gpl-3.0
nasomi/darkstar
scripts/globals/abilities/pets/ecliptic_howl.lua
20
1294
--------------------------------------------------- -- Aerial Armor --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/utils"); ----------------------------------------...
gpl-3.0
Gamerbude/Wasteland
mods/default/crafting.lua
2
12492
-- mods/default/crafting.lua minetest.register_craft({ output = 'default:wood 4', recipe = { {'default:tree'}, } }) minetest.register_craft({ output = 'default:wood', recipe = { {'default:dead_tree'}, } }) minetest.register_craft({ output = 'default:junglewood 4', recipe = { {'default:jungletree'}, } ...
gpl-3.0
EnjoyHacking/nn
Threshold.lua
42
1158
local Threshold, parent = torch.class('nn.Threshold','nn.Module') function Threshold:__init(th,v,ip) parent.__init(self) self.threshold = th or 1e-6 self.val = v or 0 if (th and type(th) ~= 'number') or (v and type(v) ~= 'number') then error('nn.Threshold(threshold, value)') end -- default for ...
bsd-3-clause
Hello23-Ygopro/ygopro-ds
expansions/script/c27003121.lua
1
1248
--BT3-109 SS3 Bardock, Power Unleashed local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,SPECIAL_TRAIT_SAIYAN,CHARACTER_BARDOCK_XENO) ds.AddPlayProcedure(c,COLOR_COLORLESS,0,5) --xeno-evolve ds.EnableXenoEvolve(c,aux....
gpl-3.0
nasomi/darkstar
scripts/globals/settings.lua
13
12083
----------------------------------------------- ------------- GLOBAL SETTINGS ------------- ----------------------------------------------- -- This is to allow server operators to further customize their servers. As more features are added to pXI, the list will surely expand. -- Anything scripted can be cust...
gpl-3.0
mlem/wesnoth
data/ai/micro_ais/cas/ca_goto.lua
26
9404
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local BC = wesnoth.require "ai/lua/battle_calcs.lua" local LS = wesnoth.require "lua/location_set.lua" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" local MAISD = wesnoth.require "ai/micro_ais/micro_a...
gpl-2.0
nasomi/darkstar
scripts/zones/Abyssea-Grauberg/npcs/Dominion_Tactician.lua
61
4431
----------------------------------- -- Area: Abyssea - Grauberg -- NPC: Dominion Tactician -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/abyssea"); require("script...
gpl-3.0
nasomi/darkstar
scripts/zones/Crawlers_Nest/npcs/qm2.lua
14
1049
----------------------------------- -- Area: Crawlers' Nest -- NPC: ??? - Guardian Crawler (Spawn 2) -- @pos 44.436 -2.602 195.381 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Crawlers_Nest/TextI...
gpl-3.0
nasomi/darkstar
scripts/zones/Yhoator_Jungle/npcs/Etaj-Pohtaj_WW.lua
30
3054
----------------------------------- -- Area: Yhoator Jungle -- NPC: Etaj-Pohtaj, W.W. -- Outpost Conquest Guards -- @pos 200.254 -1 -80.324 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
nasomi/darkstar
scripts/globals/spells/dia_ii.lua
18
2295
----------------------------------------- -- Spell: Dia II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------...
gpl-3.0
mortezamosavy999/index
plugins/inpm.lua
34
3688
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
nasomi/darkstar
scripts/globals/spells/bluemagic/refueling.lua
18
1269
----------------------------------------- -- Spell: Refueling -- Increases attack speed -- Spell cost: 29 MP -- Monster Type: Arcana -- Spell Type: Magical (Wind) -- Blue Magic Points: 4 -- Stat Bonus: AGI+2 -- Level: 48 -- Casting Time: 1.5 seconds -- Recast Time: 30 seconds -- Duration: 5 minutes -- -- ...
gpl-3.0
nasomi/darkstar
scripts/globals/zone.lua
30
3876
------------------------------------ -- -- Contains global functions and variables -- related to area specific things -- ------------------------------------ ------------------------------------ -- zone related IDs ------------------------------------ -- Zone Types ZONETYPE_NONE = 0 ZONETYPE_CI...
gpl-3.0
amirhacker135/mmkingtm1
plugins/info.lua
8
10997
do local ali_ghoghnoos = 100577715 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value) return send_msg('chat#id'..msg.to.id, ...
gpl-2.0
nasomi/darkstar
scripts/globals/weaponskills/realmrazer.lua
30
1450
----------------------------------- -- Realmrazer -- Club weapon skill -- Skill Level: 357 -- Delivers a seven-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers...
gpl-3.0
luanorlandi/SwiftSpaceBattle
src/player/data.lua
2
2710
PlayerData = {} PlayerData.__index = PlayerData function PlayerData:new() local P = {} setmetatable(P, PlayerData) P.active = true P.lives = 3 P.score = 0 P.combo = 1 P.alive = true -- save ship aim -- when use a life, will restore the same aim P.aim = Vector:new(0, 1) -- up return P end functio...
gpl-3.0
nasomi/darkstar
scripts/zones/Southern_San_dOria/npcs/Balasiel.lua
17
6074
----------------------------------- -- Area: Southern San d'Oria -- NPC: Balasiel -- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test -- @zone 230 -- @pos -136 -11 64 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ---------------...
gpl-3.0
Nathan22Miles/sile-0.9.1
packages/image.lua
2
1117
local imagesize = SILE.require("imagesize") SILE.registerCommand("img", function(options, content) SU.required(options, "src", "including image file") local width = SILE.parseComplexFrameDimension(options.width or 0,"w") or 0 local height = SILE.parseComplexFrameDimension(options.height or 0,"h") or 0 local s...
mit
nasomi/darkstar
scripts/zones/Apollyon/mobs/Water_Elemental.lua
112
2441
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); --------------------------...
gpl-3.0
shangjiyu/luci-with-extra
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua
30
2974
-- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require "luci.sys" local m, s, o local sensor_types = { ["12v"] = "voltage", ["2.0v"] = "voltage", ["2.5v"] = "voltage", ["3.3v"] = "voltage", ["5.0v"] = "voltage", ["5v"] = "voltage", ["ain1"] = "voltag...
apache-2.0
nasomi/darkstar
scripts/zones/Tahrongi_Canyon/npcs/Dimensional_Portal.lua
12
1422
----------------------------------- -- Area: Tahrongi_Canyon -- NPC: Dimensional_Portal -- @pos 260.000 35.150 340.000 117 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
nasomi/darkstar
scripts/globals/items/denizanasi.lua
18
1259
----------------------------------------- -- ID: 5447 -- Item: Denizanasi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
nasomi/darkstar
scripts/zones/Dangruf_Wadi/npcs/qm4.lua
17
1905
----------------------------------- -- NPC: ??? (QM4) -- Type: Grasswix dice roll game part 2 -- @zone: 191 -- Involved in quest "As Thick As Thieves" ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
amirhacker135/mmkingtm1
plugins/anti_spam.lua
11
5985
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
nasomi/darkstar
scripts/zones/Quicksand_Caves/Zone.lua
17
5995
----------------------------------- -- -- Zone: Quicksand_Caves (208) -- ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/zo...
gpl-3.0
nasomi/darkstar
scripts/zones/Davoi/npcs/Treasure_Chest.lua
19
2551
----------------------------------- -- Area: Davoi -- NPC: Treasure Chest -- @zone 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Davoi/Tex...
gpl-3.0
nasomi/darkstar
scripts/globals/items/slice_of_buffalo_meat.lua
18
1424
----------------------------------------- -- ID: 5152 -- Item: slice_of_buffalo_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 4 -- Agility -5 -- Intelligence -7 ----------------------------------------- require("scripts/globals/status"); ----------------------...
gpl-3.0
cristiandonosoc/unexperiments
01-Ecosystem/main.lua
1
1949
Vector = require "lib.hump.vector" Camera = require "lib.hump.camera" Timer = require "lib.hump.timer" Class = require "lib.hump.class" Gamestate = require "lib.hump.gamestate" Shapes = require "lib.hardon_collider.shapes" require "input" Helper = require "helper" -- CLASES require "classes.blob" require "classes.pl...
mit
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/libs/nixio/lua/nixio/util.lua
179
5824
--[[ nixio - Linux I/O library for lua Copyright 2009 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$ ]]-- local...
gpl-2.0
Hello23-Ygopro/ygopro-ds
expansions/script/c27004046.lua
1
1286
--BT4-042 Hoi, Emissary of Flame local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddPlayProcedure(c,COLOR_BLUE,1,1) --super combo ds.EnableSuperCombo(c) --draw ds.AddSingleAutoCombo(c,0,true,scard.drtg,scard.drop,nil,scard.drco...
gpl-3.0
nasomi/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gd.lua
34
1341
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gd (Lever F) -- @pos 44 -20.56 143.802 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -----------------...
gpl-3.0
nasomi/darkstar
scripts/globals/items/high_breath_mantle.lua
43
1427
----------------------------------------- -- ID: 15487 -- Item: High Breath Mantle -- Item Effect: HP+38 / Enmity+5 ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------------------------...
gpl-3.0
actboy168/YDWE
Development/Component/plugin/w3x2lni/script/ffi/stormlib.lua
2
9479
local ffi = require 'ffi' local loaddll = require 'ffi.loaddll' ffi.cdef[[ struct SFILE_CREATE_MPQ { unsigned long cbSize; // Size of this structure, in bytes unsigned long dwMpqVersion; // Version of the MPQ to be created void* pvUserData; // Reserved, must be NULL ...
gpl-3.0
DarkSupremo/Multiplier
Workshop/base/game/dota_addons/power_multiplier/scripts/vscripts/abilities/modifier_armor_per_agility.lua
1
2167
require ( 'util' ) local baseArmorOriginal = {} local lastArmorPerAgi = {} local initialArmor = {} -- function round(x) -- return x>=0 and math.floor(x+0.5) or math.ceil(x-0.5) -- end -- function getExtraArmor(caster) -- local extraArmor = math.abs(round((caster:GetAgility() * 0.14) - (caster:GetPhysicalArmorValu...
gpl-3.0
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/modules/base/luasrc/ltn12.lua
83
11303
--[[ LuaSocket 2.0.2 license Copyright � 2004-2007 Diego Nehab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
gpl-2.0
nasomi/darkstar
scripts/zones/Arrapago_Reef/npcs/qm2.lua
16
1169
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (Spawn Velionis(ZNM T1)) -- @pos 311 -3 27 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); -------------------...
gpl-3.0
ioiasff/pqrw
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
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/resistance_torso_pistol_shot_3.meta.lua
2
2766
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
amirhoseinhastam1/1
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
nasomi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Tehf_Kimasnahya.lua
19
2969
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Tehf Kimasnahya -- Type: Standard NPC -- @pos -89.897 -1 6.199 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems")...
gpl-3.0
nasomi/darkstar
scripts/zones/Beaucedine_Glacier/Zone.lua
17
3226
----------------------------------- -- -- Zone: Beaucedine_Glacier (111) -- ----------------------------------- package.loaded[ "scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Beaucedine_Glacier/TextIDs"); require("scripts/globals/missions"); requ...
gpl-3.0
nasomi/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
nasomi/darkstar
scripts/zones/Valkurm_Dunes/npcs/Nyata-Mobuta_WW.lua
30
3056
----------------------------------- -- Area: Valkurm Dunes -- NPC: Nyata-Mobuta, W.W. -- Type: Outpost Conquest Guards -- @pos 139.394 -7.885 100.384 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conque...
gpl-3.0
nasomi/darkstar
scripts/zones/Abyssea-Uleguerand/Zone.lua
32
1548
----------------------------------- -- -- Zone: Abyssea - Uleguerand -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abys...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/flower_cyan_6.meta.lua
18
1947
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 80, light_colors = { "0 190 171 255", "6 190 39 255", "153 229 80 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 }, ...
agpl-3.0
zhangxiangxiao/GalaxyZoo
data.lua
1
5453
--[[ Data reader for Galaxy Zoo By Xiang Zhang @ New York University --]] require("image") -- Create class local Data = torch.class("Data") -- Constants Data.height = 256 Data.width = 256 Data.nclasses = 37 -- Initializer -- config: configuration table -- .file: the data index file -- .root: (optional) overri...
bsd-2-clause
nasomi/darkstar
scripts/globals/spells/regen_ii.lua
18
1525
----------------------------------------- -- Spell: Regen II -- Gradually restores target's HP. ----------------------------------------- -- Cleric's Briault enhances the effect -- Scale down duration based on level -- Composure increases duration 3x ----------------------------------------- require("scripts/...
gpl-3.0
Gamerbude/Wasteland
mods/default/aliases.lua
5
3604
-- aliases (Minetest 0.4 mod) -- Provides alias for most default items minetest.register_alias("stone", "default:stone") minetest.register_alias("stone_with_coal", "default:stone_with_coal") minetest.register_alias("stone_with_iron", "default:stone_with_iron") minetest.register_alias("dirt_with_grass", "default:dirt_w...
gpl-3.0
spacewander/lua-resty-mime-sniff
lib/mime_sniff.lua
1
11727
require "table.new" local error = error local ipairs = ipairs local type = type local bit = require "bit" local bit_band = bit.band local bit_lshift = bit.lshift local re_find = ngx.re.find local string_byte = string.byte local string_sub = string.sub local table_new = table.new local table_insert = table.insert loca...
mit
nasomi/darkstar
scripts/globals/effects/sigil.lua
24
3085
----------------------------------- -- -- EFFECT_SIGIL -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); -- Tracks which bonus effects are in use. ...
gpl-3.0
nasomi/darkstar
scripts/globals/campaign.lua
18
4903
----------------------------------------------------------------- -- Variable for getNationTeleport and getPoint ----------------------------------------------------------------- ALLIED_NOTES = 11; MAW = 4; PAST_SANDORIA = 5; PAST_BASTOK = 6; PAST_WINDURST = 7; -- ---------------------------------------...
gpl-3.0
nasomi/darkstar
scripts/globals/abilities/dark_arts.lua
28
1588
----------------------------------- -- Ability: Dark Arts -- Optimizes black magic capability while lowering white magic proficiency. Grants a bonus to enfeebling, elemental, and dark magic. Also grants access to Stratagems. -- Obtained: Scholar Level 10 -- Recast Time: 1:00 -- Duration: 2:00:00 -----------------...
gpl-3.0
thesabbir/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
48
2480
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" m = Map("network", translate("Interfaces")) m.pageaction = false m:section(SimpleSection).template = "admin_network/iface_overvi...
apache-2.0
codeacula/achaea-neko
Objects/Mapper/Room.lua
1
5788
-- Holder for the class Room = {} --- Lets the area reference the main table functions Room.__index = Room Room.__eq = function(t1, t2) return t1.id == t2.id end Room.__le = function(t1, t2) return t1.name <= t2.name end Room.__lt = function(t1, t2) return t1.name < t2.name end -- Creates a new room wit...
mit
jotson/1gam-jan2013
zoetrope/core/promise.lua
2
7651
-- Class: Promise -- This is a way to communicate with an asynchronous function call that -- is modeled after the Promises/A CommonJS spec <http://wiki.commonjs.org/wiki/Promises/A>. -- The main difference is that instead of then(), it uses andThen() as the connecting -- method name, since 'then' is a reserved word...
mit
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/flashbang.meta.lua
4
2766
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 150, light_colors = { "255 255 255 255", "255 0 0 255", "0 255 255 255" }, radius = { x = 80, y = 80 }, standard_deviation = 7.19999980...
agpl-3.0
nasomi/darkstar
scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua
35
1403
----------------------------------------- -- ID: 5197 -- Item: dish_of_spaghetti_peperoncino_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health % 30 -- Health Cap 75 -- Vitality 2 -- Store TP 6 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
shangjiyu/luci-with-extra
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua
53
2738
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Network Plugin Configuration"), translate( "The network plugin provides network based communication between " .. "different collectd instances. Coll...
apache-2.0
nasomi/darkstar
scripts/zones/Dynamis-San_dOria/mobs/Reapertongue_Gadgquok.lua
16
1064
----------------------------------- -- Area: Dynamis San d'Oria -- NPC: Reapertongue Gadgquok -- Boss Trigger for Overlord's Tombstone ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ---------...
gpl-3.0
nasomi/darkstar
scripts/zones/Port_Bastok/npcs/Dhen_Tevryukoh.lua
34
1619
----------------------------------- -- Area: Port Bastok -- NPC: Dhen Tevryukoh -- Only sells when Bastok controlls Elshimo Uplands -- @zone 236 -- @pos 35 -2 2 -- Confirmed shop stock, August 2013 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ------------...
gpl-3.0
nasomi/darkstar
scripts/globals/mobskills/Tidal_Slash.lua
25
1336
--------------------------------------------- -- Tidal Slash -- -- Description: Deals Water<a href="http://images.wikia.com/ffxi/images/b/b7/Exclamation.gif" class="image" title="Verification Needed" data-image-name="Exclamation.gif" id="Exclamation-gif"><img alt="Verification Needed" src="http://images1.wikia.noc...
gpl-3.0
nasomi/darkstar
scripts/zones/Abyssea-Konschtat/TextIDs.lua
9
3322
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtain...
gpl-3.0
nasomi/darkstar
scripts/zones/Port_Jeuno/npcs/Omiro-Zamiro.lua
17
1365
----------------------------------- -- Area: Port Jeuno -- NPC: Omiro-Zamiro -- @zone 246 -- @pos 3 7 -54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems")...
gpl-3.0
nasomi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sajaaya.lua
59
1060
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sajaaya -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Aht_Urhgan_...
gpl-3.0
sjthespian/dotfiles
hammerspoon/modules/cheatsheet.lua
2
15153
-- module: Cheatsheet - show markdown file popup overlays on-demand -- (Inspired by the CheatSheet app by Stefan Fürst, but rather than -- automatically showing an app's hotkeys, this renders custom markdown files -- based on the current app.) -- -- Cheatsheets live in the config.cheatsheet.path.dir directory. -- For c...
mit
nasomi/darkstar
scripts/zones/Northern_San_dOria/npcs/Cauzeriste.lua
17
1263
----------------------------------- -- Area: Northern San d'Oria -- NPC: Cauzeriste -- Guild Merchant NPC: Woodworking Guild -- @pos -175.946 3.999 280.301 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
nasomi/darkstar
scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Mortimer.lua
35
1055
---------------------------------- -- Area: Fort Karugo Narugo [S] -- NPC: Mortimer -- Type: Item Deliverer -- @zone: 96 -- @pos -24.08 -68.508 93.88 -- ----------------------------------- package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil; require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs")...
gpl-3.0
nasomi/darkstar
scripts/zones/Al_Zahbi/npcs/Rughadjeen.lua
38
1030
----------------------------------- -- Area: Al Zahbi -- NPC: Rughadjeen -- Type: Skyserpent General -- @zone: 48 -- @pos -74.150 -7 70.656 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------...
gpl-3.0
nasomi/darkstar
scripts/globals/items/ice_brand.lua
41
1056
----------------------------------------- -- ID: 16937 -- Ice Brand -- Additional Effect: Ice Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- func...
gpl-3.0
OpenPrograms/payonel-Programs
psh/usr/lib/psh/pshfs.lua
1
5394
local fs = require("filesystem") local text = require("text") local buffer = require("buffer") local client = require("psh.client") local shell = require("shell") local event = require("event") local serialization = require("serialization") local pshfs = {} local function get_fs(path) if type(path) ~= "string" then...
mit
nasomi/darkstar
scripts/globals/items/dish_of_spaghetti_boscaiola_+1.lua
35
1724
----------------------------------------- -- ID: 5201 -- Item: dish_of_spaghetti_boscaiola_+1 -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 18 -- Health Cap 125 -- Magic 40 -- Strength -5 -- Dexterity -2 -- Vitality 2 -- Mind 4 -- Magic Regen While Healing 1 -------...
gpl-3.0
nasomi/darkstar
scripts/globals/mobskills/freezebite.lua
26
1287
----------------------------------- -- Freezebite -- Great Sword weapon skill -- Skill Level: 100 -- Delivers an ice elemental attack. Damage varies with TP. -- Aligned with the Snow Gorget & Breeze Gorget. -- Aligned with the Snow Belt & Breeze Belt. -- Element: Ice -- Modifiers: STR:30% ; INT:20% -- 100%TP ...
gpl-3.0
thesabbir/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua
46
3168
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("RRDTool Plugin Configuration"), translate( "The rrdtool plugin stores the collected data in rrd database " .. "files, the foundation of the diagrams...
apache-2.0
hqren/Atlas
lib/ro-balance.lua
40
6646
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2009, 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/Northern_San_dOria/npcs/Pinok-Morok.lua
53
1880
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pinok-Morok -- Type: Smithing Synthesis Image Support -- @pos -186.650 10.25 148.380 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
nasomi/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rq.lua
17
1459
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- @pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna...
gpl-3.0