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
nasomi/darkstar
scripts/zones/PsoXja/npcs/HomePoint#1.lua
19
1171
----------------------------------- -- Area: PsoXja -- NPC: HomePoint#1 -- @pos -58 40 14 10 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/homepoint"); -----------------...
gpl-3.0
Nathan22Miles/sile-0.9.1
core/settings.lua
1
3375
local _type = function(v) if type(v) == "number" then return math.floor(v)==v and "integer" or "number" end if not(type(v) == "table") then return type(v) end return v:prototype() end SILE.settings = { state = {}, declarations = {}, stateQueue = {}, defaults = {}, pushState = function() table.inser...
mit
nasomi/darkstar
scripts/globals/items/cup_of_chai_+1.lua
35
1214
----------------------------------------- -- ID: 5594 -- Item: cup_of_chai_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Vitality -3 -- Charisma 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- O...
gpl-3.0
nasomi/darkstar
scripts/zones/Port_Bastok/npcs/Tilian.lua
38
1380
----------------------------------- -- Area: Port Bastok -- NPC: Tilian -- Type: Quest NPC -- @pos -118.460 4.999 -68.090 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones...
gpl-3.0
Denzeriko/exsto
lua/exsto/plugins/sv_runwalkjump.lua
2
2943
--Created for Exsto by Shank - http://steamcommunity.com/nicatronTg local PLUGIN = exsto.CreatePlugin() PLUGIN:SetInfo({ ID = "exsto-speed", Name = "Speed", Disc = "Set a player's run and walk speed, with the addition of jump power!", Owner = "Shank", }) if !SERVER then return end function PLUGIN.R...
gpl-3.0
dageq/Dage-Aliraqi
plugins/ar-textphoto.lua
1
1337
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Dage Aliraqi ▀▄ ▄▀ ▀▄ ▄▀ BY Dage Aliraqi (@dageq) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY Dage Aliraqi ▀▄ ▄▀ ▀▄ ▄▀ text photo : تحويل كتابه صوره ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
keharriso/love-nuklear
example/style.lua
1
1829
-- Show off some of the styling options. local nuklear = require "nuklear" local colors = { ['text'] = '#afafaf', ['window'] = '#2d2d2d', ['header'] = '#282828', ['border'] = '#414141', ['button'] = '#323232', ['button hover'] = '#282828', ['button active'] = '#232323', ['toggle'] = '#646464', ['toggle hover...
mit
nasomi/darkstar
scripts/zones/Open_sea_route_to_Al_Zahbi/npcs/Cehn_Teyohngo.lua
17
1250
----------------------------------- -- Area: Open sea route to Al Zahbi -- NPC: Cehn Teyohngo -- Guild Merchant NPC: Fishing Guild -- @zone 4.986 -2.101 -12.026 46 ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
nasomi/darkstar
scripts/zones/Port_Bastok/npcs/Bartolomeo.lua
34
1612
----------------------------------- -- Area: Port Bastok -- NPC: Bartolomeo -- Standard Info NPC -- Involved in Quest: Welcome to Bastok ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requi...
gpl-3.0
nicholas-leonard/nn
WeightedMSECriterion.lua
22
1259
local WeightedMSECriterion, parent = torch.class('nn.WeightedMSECriterion','nn.MSECriterion') function WeightedMSECriterion:__init(w) parent.__init(self) self.weight = w:clone() end function WeightedMSECriterion:updateOutput(input,target) self.buffer = self.buffer or input.new() self.buffer:resizeAs(input...
bsd-3-clause
coolflyreg/gs
server/service/agent.lua
1
4501
local skynet = require "skynet" local queue = require "skynet.queue" local sharemap = require "sharemap" local socket = require "socket" local syslog = require "syslog" local protoloader = require "protoloader" local beasts_handler = require "agent.beasts_handler" local contests_handler = require "agent.contests_han...
gpl-2.0
nasomi/darkstar
scripts/globals/mobskills/Bloodrake.lua
13
1106
--------------------------------------------- -- Bloodrake -- -- Description: Slashes up a single target. Additional effect: Drain -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow? -- Range: Melee -- Notes: A spell equivalent to Sanguine Blade in terms of functionality where damage dealt is absorbed as...
gpl-3.0
dromozoa/dromozoa-image
dromozoa/image/pixel2.lua
3
2248
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-image. -- -- dromozoa-image is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or...
gpl-3.0
Wouterz90/SuperSmashDota
Game/scripts/vscripts/abilities/zuus.lua
1
9158
zuus_special_top = class({}) function zuus_special_top:OnAbilityPhaseStart() if not self:GetCaster():CanCast(self) then return false end if not self:IsCooldownReady() then return false end local caster = self:GetCaster() StartAnimation(self:GetCaster(), {duration=self:GetCastPoint(), activity=ACT_DOTA_CAST_ABIL...
mit
nasomi/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Luck_Rune.lua
34
1089
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos 70.736 -37.778 149.624 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ------------------------------------- require("sc...
gpl-3.0
nasomi/darkstar
scripts/globals/abilities/fire_shot.lua
6
2792
----------------------------------- -- Ability: Fire Shot -- Consumes a Fire Card to enhance fire-based debuffs. Deals fire-based magic damage -- Burn effect: Enhanced DoT and INT- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globa...
gpl-3.0
thesabbir/luci
applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua
28
45740
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2013 Manuel Munz <freifunk at somakoma dot de> -- Copyright 2014-2015 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. local NX ...
apache-2.0
nasomi/darkstar
scripts/zones/Valkurm_Dunes/npcs/qm2.lua
17
1335
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm2 (???) -- Involved In Quest: Messenger from Beyond -- @pos -716 -10 66 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
nasomi/darkstar
scripts/globals/spells/raiton_ichi.lua
17
1257
----------------------------------------- -- Spell: Raiton: Ichi -- Deals lightning damage to an enemy and lowers its resistance against earth. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCa...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/bilmer2000.meta.lua
2
3785
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 85, light_colors = { "0 255 255 255", "255 0 0 255", "255 0 255 255", "0 255 174 255", "255 0 228 255", "0 198 255 255" }, radius = { ...
agpl-3.0
nasomi/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/Grounds_Tome.lua
34
1151
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTr...
gpl-3.0
nasomi/darkstar
scripts/zones/Selbina/npcs/Mathilde.lua
19
1810
----------------------------------- -- Area: Selbina -- NPC: Mathilde -- Involved in Quest: Riding on the Clouds -- @pos 12.578 -8.287 -7.576 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); req...
gpl-3.0
nasomi/darkstar
scripts/zones/Kazham/npcs/Pofhu_Tendelicon.lua
15
1103
----------------------------------- -- Area: Kazham -- NPC: Pofhu Tendelicon -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ------------------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Castle_Oztroja/Zone.lua
28
1816
----------------------------------- -- -- Zone: Castle_Oztroja (151) -- ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Castle_Ozt...
gpl-3.0
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/modules/base/luasrc/ccache.lua
82
1863
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ht...
gpl-2.0
nasomi/darkstar
scripts/zones/Valkurm_Dunes/npcs/qm1.lua
17
1248
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm1 (???) -- Involved In Quest: An Empty Vessel -- @pos 238.524 2.661 -148.784 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Val...
gpl-3.0
nasomi/darkstar
scripts/zones/Garlaige_Citadel/npcs/_5kr.lua
17
1534
----------------------------------- -- Area: Garlaige Citadel -- NPC: _5kr (Crematory Hatch) -- Type: Door -- @pos 139 -6 127 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require...
gpl-3.0
nasomi/darkstar
scripts/zones/Dynamis-Buburimu/mobs/Serjeant_Tombstone.lua
4
1211
----------------------------------- -- Area: Dynamis Buburimu -- NPC: Serjeant_Tombstone ----------------------------------- package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Buburimu/TextIDs...
gpl-3.0
nasomi/darkstar
scripts/zones/Temenos/Zone.lua
28
5036
----------------------------------- -- -- Zone: Temenos (37) -- ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Temenos/TextIDs"); require("scripts/globals/limbus"); -...
gpl-3.0
kerr-huang/SL4A
lua/luasocket/src/http.lua
121
12193
----------------------------------------------------------------------------- -- HTTP/1.1 client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: http.lua,v 1.71 2007/10/13 23:55:20 diego Exp $ ----------------------------------------------------------------------------- -----...
apache-2.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/hunter.meta.lua
2
3916
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 140, light_colors = { "78 78 78 255", "39 39 39 255" }, radius = { x = 80, y = 80 }, standard_deviation = 7 }, generate_desaturation = ...
agpl-3.0
nasomi/darkstar
scripts/zones/Windurst_Waters/npcs/Ahyeekih.lua
30
1695
----------------------------------- -- Area: Windurst Waters -- NPC: Ahyeekih -- Only sells when Windurst controls Kolshushu -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); require("scripts/globals/c...
gpl-3.0
coolflyreg/gs
3rd/lua-cjson/lua/cjson/util.lua
170
6837
local json = require "cjson" -- Various common routines used by the Lua CJSON package -- -- Mark Pulford <mark@kyne.com.au> -- Determine with a Lua table can be treated as an array. -- Explicitly returns "not an array" for very sparse arrays. -- Returns: -- -1 Not an array -- 0 Empty table -- >0 Highest index ...
gpl-2.0
luanorlandi/SwiftSpaceBattle
src/interface/game/lives.lua
2
1128
local lifeIconSize = Vector:new(30 * window.scale, 30 * window.scale) local lifeIcon = MOAIGfxQuad2D.new() lifeIcon:setTexture("texture/ship/ship5life.png") lifeIcon:setRect(-lifeIconSize.x, -lifeIconSize.y, lifeIconSize.x, lifeIconSize.y) Lives = {} Lives.__index = Lives function Lives:new(qty) local L = {} setmet...
gpl-3.0
nasomi/darkstar
scripts/globals/items/messhikimaru.lua
18
1034
----------------------------------------- -- ID: 17826 -- Item: Messhikimaru -- Enchantment: Arcana Killer -- Durration: 10 Mins ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua
21
1901
----------------------------------- -- Area: Caedarva Mire -- NPC: Jazaraat's Headstone -- Involved in mission: The Lost Kingdom (TOAUM 13) -- @pos -389 6 -570 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; require("scripts/zones/Caedarva_Mire/TextIDs"); --------...
gpl-3.0
nasomi/darkstar
scripts/globals/conquest.lua
7
41670
----------------------------------- -- -- Functions for Conquest system -- ----------------------------------- require("scripts/globals/common"); require("scripts/globals/missions"); ----------------------------------- -- convenience constants ----------------------------------- SANDORIA = 0; BASTOK...
gpl-3.0
RhenaudTheLukark/CreateYourFrisk
Assets/Mods/Examples/Lua/Monsters/timeScalePoseur.lua
1
1154
-- A basic monster script skeleton you can copy and modify for your own creations. comments = {"Smells like the work\rof an enemy stand.", "Poseur is posing like his\rlife depends on it.", "Poseur's limbs shouldn't be\rmoving in this way."} commands = {"Za Warudo"} randomdialogue = {"Random\nDialogue\n1.", "Random\nDia...
gpl-3.0
nasomi/darkstar
scripts/globals/items/serving_of_karni_yarik.lua
35
1391
----------------------------------------- -- ID: 5588 -- Item: serving_of_karni_yarik -- Food Effect: 30Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- Attack % 20 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); -------...
gpl-3.0
aikon-com-cn/NoxicDB
other/calendar_events/Love is in the Air/Love is in the Air/random_npc.lua
2
5506
local self = getfenv(1) local NPC_SNIVEL_A_AUCTION = 38338 local NPC_SNIVEL_A_BANK = 38334 local NPC_SNIVEL_A_BARBER = 38339 local NPC_SNIVEL_H_AUCTION = 38335 local NPC_SNIVEL_H_BANK = 38337 local NPC_SNIVEL_H_BARBER = 38336 local SPELL_SNIVEL_INVISIBILITY = 71776 local SPELL_SEE_SNIVEL_INVISIBILITY = 71777 local SP...
agpl-3.0
amirik22/i4bot
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
phcosta29/rstats
lib/vstruct/test.lua
6
1619
-- top-level test module for vstruct -- run with 'lua test.lua' or, if vstruct is installed, with -- 'lua -lvstruct.test -e ""' -- Runs a "sensible default" set of tests against the vstruct module. Exits -- cleanly if all of them passed; if any failed, reports the failed tests -- on stdout and then raises an error. l...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/pink_coral_4.meta.lua
26
1974
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 60, light_colors = { "166 178 161 255", "255 8 255 255", "217 6 95 255", "217 17 237 255" }, radius = { x = 80, y = 80 }, stand...
agpl-3.0
Wouterz90/SuperSmashDota
Game/scripts/vscripts/libraries/abilities/containers_lua_targeting.lua
11
6189
containers_lua_targeting = class({}) -------------------------------------------------------------------------------- function containers_lua_targeting:GetBehavior() local result = CustomNetTables:GetTableValue("containers_lua", tostring(self:entindex())) if not result then return self.BaseClass.GetBehavior(self) ...
mit
bmddota/barebones
game/dota_addons/barebones/scripts/vscripts/libraries/abilities/containers_lua_targeting.lua
11
6189
containers_lua_targeting = class({}) -------------------------------------------------------------------------------- function containers_lua_targeting:GetBehavior() local result = CustomNetTables:GetTableValue("containers_lua", tostring(self:entindex())) if not result then return self.BaseClass.GetBehavior(self) ...
apache-2.0
nasomi/darkstar
scripts/zones/Port_Bastok/npcs/_6k8.lua
17
1389
----------------------------------- -- Area: Port Bastok -- NPC: Door: Departures Exit -- @zone 236 -- @pos -62 1 -8 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
nasomi/darkstar
scripts/zones/Carpenters_Landing/Zone.lua
27
3518
----------------------------------- -- -- Zone: Carpenters_Landing (2) -- ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/resistance_torso_akimbo_walk_shot_3.meta.lua
2
2840
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/Windurst_Waters_[S]/npcs/Kocco_Ehllek.lua
38
1053
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Kocco Ehllek -- Type: Quest Giver -- @zone: 94 -- @pos -41.465 -2.125 -163.018 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
nasomi/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Porter_Moogle.lua
41
1547
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 26 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Tavnazian_S...
gpl-3.0
mbsg/openwrt-extra
luci/applications/luci-app-cpulimit/luasrc/model/cbi/cpulimit.lua
20
1274
m = Map("cpulimit", translate("cpulimit"),translate("Use cpulimit to limit app's cpu using.")) s = m:section(TypedSection, "list", translate("Settings")) s.template = "cbi/tblsection" s.anonymous = true s.addremove = true enable = s:option(Flag, "enabled", translate("enable", "enable")) enable.optional = false enable...
gpl-2.0
nasomi/darkstar
scripts/globals/items/handful_of_roasted_almonds.lua
36
1079
----------------------------------------- -- ID: 5649 -- Item: Handful of Roasted Almonds -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
nasomi/darkstar
scripts/globals/abilities/equanimity.lua
28
1166
----------------------------------- -- Ability: Equanimity -- Your next black magic spell will generate less enmity. -- Obtained: Scholar Level 75 -- Recast Time: Stratagem Charge -- Duration: 1 black magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- -...
gpl-3.0
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/libs/nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
gpl-2.0
thesabbir/luci
libs/luci-lib-nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
apache-2.0
dageq/Dage-Aliraqi
plugins/en-getlink.lua
1
28080
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Dage Aliraqi ▀▄ ▄▀ ▀▄ ▄▀ BY Dage Aliraqi (@dageq) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY Dage Aliraqi ▀▄ ▄▀ ▀▄ ▄▀ A SPECiAL LINK : الرابط خاص ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
OrenjiAkira/lua-html
lib/lux/pack.lua
1
1342
--[[ -- -- Copyright (c) 2013-2016 Wilson Kazuo Mizutani -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, ...
mit
droogmic/droogmic-domoticz-lua
packages/json.lua-0.1.0/json.lua
13
8951
-- -- 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 ---...
mit
shangjiyu/luci-with-extra
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua
68
1513
-- 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. cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true chan_agent = module:option(L...
apache-2.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/metropolis_torso_knife_prim_return_3.meta.lua
2
2622
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/zones/Port_Windurst/npcs/Kunchichi.lua
38
1409
----------------------------------- -- Area: Port Windurst -- NPC: Kunchichi -- Type: Standard NPC -- @pos -115.933 -4.25 109.533 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scr...
gpl-3.0
nasomi/darkstar
scripts/globals/items/king_truffle.lua
35
1193
----------------------------------------- -- ID: 4386 -- King Truffle -- 5 Minutes, food effect, All Races ----------------------------------------- -- Strength -6 -- Mind +4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
nasomi/darkstar
scripts/zones/PsoXja/Zone.lua
6
5215
----------------------------------- -- -- Zone: PsoXja (9) -- ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/zones/PsoXja/TextIDs"); require...
gpl-3.0
bmddota/barebones
game/dota_addons/barebones/scripts/vscripts/libraries/physics.lua
10
101647
PHYSICS_VERSION = "1.01" PHYSICS_NAV_NOTHING = 0 PHYSICS_NAV_HALT = 1 PHYSICS_NAV_SLIDE = 2 PHYSICS_NAV_BOUNCE = 3 PHYSICS_NAV_GROUND = 4 PHYSICS_GROUND_NOTHING = 0 PHYSICS_GROUND_ABOVE = 1 PHYSICS_GROUND_LOCK = 2 COLLIDER_SPHERE = 0 COLLIDER_BOX = 1 COLLIDER_AABOX = 2 PHYSICS_THINK = 0.01 if Physics == nil then ...
apache-2.0
dromozoa/dromozoa-image
dromozoa/image/pam_writer.lua
3
3636
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-image. -- -- dromozoa-image is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or...
gpl-3.0
nasomi/darkstar
scripts/zones/Gusgen_Mines/npcs/_5g0.lua
34
1096
----------------------------------- -- Area: Gusgen Mines -- NPC: _5g0 (Door C) -- @pos 44 -42.4 -25.5 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); ---------------------...
gpl-3.0
nicholas-leonard/nn
utils.lua
13
6605
nn.utils = {} -- oops; someone forgot to add torch.Storage.type -- TODO replace with torch.Storage.type when implemented local function torch_Storage_type(self, type) local current = torch.typename(self) if not type then return current end if type ~= current then local new = torch.getmetatable(type).new...
bsd-3-clause
Hello23-Ygopro/ygopro-ds
expansions/script/c27003166.lua
1
1145
--TB1-012 Sister Attack Saiyan Caulifla local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,SPECIAL_TRAIT_ALIEN,SPECIAL_TRAIT_SAIYAN,CHARACTER_CAULIFLA,SPECIAL_TRAIT_UNIVERSE_6,SPECIAL_TRAIT_INCLUDES_UNIVERSE) ds.AddPlayP...
gpl-3.0
actboy168/YDWE
Development/Component/plugin/w3x2lni/script/core/slk/backend_searchparent.lua
3
4373
local lang = require 'lang' local type = type local pairs = pairs local os_clock = os.clock local w2l local revert_list local unit_list local function get_revert_list(default, code) if not revert_list then revert_list = {} for name, obj in pairs(default) do local code = obj['_code'] ...
gpl-3.0
nasomi/darkstar
scripts/globals/weaponskills/namas_arrow.lua
18
1760
----------------------------------- -- Skill Level: N/A -- Description: Additional Effect: Temporarily improves Ranged Accuracy -- Aligned with the Light Gorget, Snow Gorget & Aqua Gorget. -- Properties -- Element: N/A -- Skillchain Properties: Light/Distortion -- Modifiers: STR: 40% AGI: 40% -- Damage Multipli...
gpl-3.0
Hello23-Ygopro/ygopro-ds
expansions/script/c27002153.lua
1
1395
--EX01-06 Unified Spirit Trunks local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,CHARACTER_TRUNKS_YOUTH,SPECIAL_TRAIT_SAIYAN,SPECIAL_TRAIT_EARTHLING) ds.AddPlayProcedure(c,COLOR_GREEN,1,2) --return ds.AddActivateMain...
gpl-3.0
nasomi/darkstar
scripts/zones/Northern_San_dOria/npcs/Matildie.lua
34
1696
----------------------------------- -- Area: Northern San d'Oria -- NPC: Matildie -- Adventurer's Assistant ------------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
nasomi/darkstar
scripts/zones/Kazham/npcs/Kobhi_Sarhigamya.lua
34
1061
---------------------------------- -- Area: Kazham -- NPC: Kobhi Sarhigamya -- Type: Item Deliverer -- @zone: 250 -- @pos -115.29 -11 -22.609 -- ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); -------------------------...
gpl-3.0
RhenaudTheLukark/CreateYourFrisk
Assets/Mods/Examples/Lua/Waves/bullettest_bouncy_time.lua
1
1062
-- The bouncing bullets attack from the documentation example. spawntimer = 0 bullets = {} function Update() spawntimer = spawntimer + Time.dt if spawntimer >= 0.5 then spawntimer = 0 local posx = 30 - math.random(60) local posy = Arena.height/2 local bullet = CreateProjectile('...
gpl-3.0
haka-security/haka
src/haka/test/alert.lua
2
1105
-- 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 ipv4 = require('protocol/ipv4') haka.rule { on = haka.dissectors.ipv4.events.receive_packet, eval = function...
mpl-2.0
Wouterz90/SuperSmashDota
Game/scripts/vscripts/animation_example/heroes/legion_commander/legion_commander.lua
7
9739
--============ Copyright (c) Valve Corporation, All rights reserved. ========== -- -- source1import auto-generated animation script -- local changes will be overwritten if source1import if run again on this asset -- -- mdl: models\heroes\legion_commander\legion_commander.mdl -- --=======================================...
mit
nasomi/darkstar
scripts/zones/Port_Windurst/npcs/Mojo-Pojo.lua
38
1037
----------------------------------- -- Area: Port Windurst -- NPC: Mojo-Pojo -- Type: Standard NPC -- @zone: 240 -- @pos -108.041 -4.25 109.545 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Dynamis-Bastok/mobs/Adamantking_Effigy.lua
4
2183
----------------------------------- -- Area: Dynamis Bastok -- NPC: Adamantking Effigy -- Map Position: http://www.dynamislounge.com/html/zone/frame_bas1.htm -- Map Position: http://www.dynamislounge.com/html/zone/frame_bas2.htm ----------------------------------- package.loaded["scripts/zones/Dynamis-Bastok/Tex...
gpl-3.0
Hello23-Ygopro/ygopro-ds
expansions/script/c27002052.lua
1
1462
--BT2-046 Beerus, Essence of Destruction local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,CHARACTER_BEERUS,SPECIAL_TRAIT_GOD) ds.AddPlayProcedure(c,COLOR_BLUE,2,2) --double strike ds.EnableDoubleStrike(c) --to deck ...
gpl-3.0
minaevmike/rspamd
src/plugins/lua/fann_scores.lua
1
21829
--[[ Copyright (c) 2015, Vsevolod Stakhov <vsevolod@highsecure.ru> 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 Unless required by applicable law ...
apache-2.0
srush/OpenNMT
onmt/modules/LSTM.lua
3
3697
require('nngraph') --[[ Implementation of a single stacked-LSTM step as an nn unit. h^L_{t-1} --- h^L_t c^L_{t-1} --- c^L_t | . | [dropout] | h^1_{t-1} --- h^1_t c^1_{t-1} --- c^1_t | ...
mit
OptiPop/external_skia
tools/lua/scrape_dashing.lua
160
2495
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
Hello23-Ygopro/ygopro-ds
expansions/script/c27004121.lua
1
1319
--BT4-108 Mira, Creator Absorbed local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,SPECIAL_TRAIT_ANDROID,CHARACTER_MIRA) ds.AddPlayProcedure(c,COLOR_COLORLESS,0,7) --over realm ds.EnableOverRealm(c,4,1) --deflect ds...
gpl-3.0
cristiandonosoc/unexperiments
dotaoh/lib/hump/vector.lua
12
5276
--[[ Copyright (c) 2010-2013 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
mit
nasomi/darkstar
scripts/zones/Windurst_Waters/npcs/Qhum_Knaidjn.lua
17
2806
----------------------------------- -- Area: Windurst Waters -- NPC: Qhum_Knaidjn -- Type: Guildworker's Union Representative -- @zone: 238 -- @pos -112.561 -2 55.205 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/keyitems"); r...
gpl-3.0
nasomi/darkstar
scripts/globals/items/anchovy.lua
35
1197
----------------------------------------- -- ID: 5652 -- Item: Anchovy -- Food Effect: 3Min, All Races ----------------------------------------- -- Dexterity +1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
shangjiyu/luci-with-extra
modules/luci-base/luasrc/tools/webadmin.lua
22
2326
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.tools.webadmin", package.seeall) local util = require "luci.util" local uci = require "luci.model.uci" local ip = require "luci.ip" func...
apache-2.0
Hello23-Ygopro/ygopro-ds
expansions/script/c27003154.lua
1
1711
--TB1-002 Lady of Destruction Kale local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableLeaderAttribute(c) ds.AddSetcode(c,SPECIAL_TRAIT_ALIEN,SPECIAL_TRAIT_SAIYAN,CHARACTER_KALE,SPECIAL_TRAIT_UNIVERSE_6,SPECIAL_TRAIT_INCLUDES_UNIVERSE) --lady of destructio...
gpl-3.0
nasomi/darkstar
scripts/zones/Southern_San_dOria/npcs/Nenne.lua
17
2111
----------------------------------- -- Area: Northern San d'Oria -- NPC: Nenne -- Starts and Finishes Quest: To Cure a Cough -- @zone 230 -- @pos -114 -6 102 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
nasomi/darkstar
scripts/zones/Northern_San_dOria/npcs/Andreas.lua
19
2728
----------------------------------- -- Area: Northern San d'Oria -- NPC: Andreas -- Type: Guildworker's Union Representative -- @zone: 231 -- @pos -189.282 10.999 262.626 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/keyitems"); requ...
gpl-3.0
shangjiyu/luci-with-extra
modules/luci-base/luasrc/sys.lua
14
15363
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local io = require "io" local os = require "os" local table = require "table" local nixio = require "nixio" local fs = require "nixio.fs" local uci = require "luci.model.uci" local luci = {} l...
apache-2.0
coolflyreg/gs
3rd/skynet-mingw/service/launcher.lua
51
3199
local skynet = require "skynet" local core = require "skynet.core" require "skynet.manager" -- import manager apis local string = string local services = {} local command = {} local instance = {} -- for confirm (function command.LAUNCH / command.ERROR / command.LAUNCHOK) local function handle_to_address(handle) retu...
gpl-2.0
mlem/wesnoth
data/lua/location_set.lua
28
3736
local location_set = {} local function index(x, y) -- the 2000 bias ensure that the correct x is recovered for negative y return x * 16384 + y + 2000 end local invscale = 1 / 16384 local function revindex(p) local x = math.floor(p * invscale) return x, p - x * 16384 - 2000 end local methods = {} local locset_met...
gpl-2.0
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/modules/freifunk/luasrc/model/cbi/freifunk/basics.lua
74
3518
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Manuel Munz <freifunk at somakoma de> 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:...
gpl-2.0
nasomi/darkstar
scripts/globals/mobskills/Spike_Flail.lua
18
1248
--------------------------------------------------- -- Spike Flail -- Deals extreme damage in a threefold attack to targets behind the user. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -...
gpl-3.0
exitunlimited/Exit-Unlimited
plugins/ingroup.lua
371
44212
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
SudoHelper/SecurityBot
plugins/ingroup.lua
371
44212
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
agpl-3.0
MZ597/Mz597
plugins/ingroup.lua
371
44212
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
agpl-3.0
nasomi/darkstar
scripts/zones/Beadeaux/Zone.lua
16
3478
----------------------------------- -- -- Zone: Beadeaux (147) -- ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); require("scripts/globals/quests"); require...
gpl-3.0
ngeiswei/ardour
share/scripts/_session_load_hook.lua
4
1120
ardour { ["type"] = "EditorHook", name = "Load Session Hook Example", author = "Ardour Team", description = "Display some dialogs during session load and execute actions", } -- subscribe to signals -- http://manual.ardour.org/lua-scripting/class_reference/#LuaSignal.LuaSignal function signals () s ...
gpl-2.0