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
ench0/external_skia
tools/lua/count_reduced_clipstacks.lua
147
3116
stats = {} -- switch this to run on the automated scraper system newline = "\n" -- newline = "\\n" function sk_scrape_startcanvas(c, fileName) canvas = c oldstackstr = "<invalid>" end function sk_scrape_endcanvas(c, fileName) canvas = nil end function string.starts(String,Start) return string.sub(Str...
bsd-3-clause
ZerothAngel/FtDScripts
lib/waypointmove.lua
1
3457
--@ commons control pid planarvector quadraticintercept getbearingtopoint sign clamp -- Waypoint move module MTW_ThrottlePID = PID.new(WaypointMoveConfig.ThrottlePIDConfig, -1, 1) if not WaypointMoveConfig.MinimumSpeed then WaypointMoveConfig.MinimumSpeed = 0 end if WaypointMoveConfig.StopOnStationaryWaypoint == nil t...
mit
yetsky/luci
applications/luci-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua
76
3395
--[[ 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...
apache-2.0
redxdev/Wake
dist/tests/native/matrix4x4.lua
1
8938
local test = require('test') local Matrix4x4 = Matrix4x4 local Vector4 = Vector4 test.suite('Matrix4x4 Library') test.test('creation', function() local m = Matrix4x4.new() test.assert_equal(#m, 16) test.expect_equal(m:get(1, 1), 1) test.expect_equal(m:get(1, 2), 0) test.expect_equal(m:get(1, 3), 0...
mit
miraage/gladdy
Libs/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua
6
5241
local AceGUI = LibStub("AceGUI-3.0") -------------------------- -- Check Box -- -------------------------- --[[ Events : OnValueChanged ]] do local Type = "CheckBox" local Version = 4 local function OnAcquire(self) self:SetValue(false) self.tristate = nil end local function OnRelease(self) self.fr...
mit
HamidRavani/hamid
plugins/anti_fosh.lua
49
1591
local function run(msg, matches) if is_owner(msg) then return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings'] then if data[tostring(msg.to.id)]['settings']['antifosh'] then lock_fos...
gpl-2.0
pazos/koreader
frontend/apps/reader/skimtowidget.lua
1
15453
local BD = require("ui/bidi") local Blitbuffer = require("ffi/blitbuffer") local Button = require("ui/widget/button") local CenterContainer = require("ui/widget/container/centercontainer") local CloseButton = require("ui/widget/closebutton") local Device = require("device") local Event = require("ui/event") local Font ...
agpl-3.0
nwf/openwrt-packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_stations.lua
13
4426
local ubus = require "ubus" local bit32 = require "bit32" local function get_wifi_interfaces() local u = ubus.connect() local status = u:call("network.wireless", "status", {}) local interfaces = {} for dev, dev_table in pairs(status) do for _, intf in ipairs(dev_table['interfaces']) do table.insert(...
gpl-2.0
notestudio/shall-I-kill-her
assets/scripts/vendor/HC/polygon.lua
7
13533
--[[ Copyright (c) 2011 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, distribu...
apache-2.0
VisionLabs/torch-opencv
cv/features2d/init.lua
1
50773
local cv = require 'cv._env' local ffi = require 'ffi' local C = ffi.load(cv.libPath('features2d')) require 'cv.Classes' local Classes = ffi.load(cv.libPath('Classes')) ffi.cdef[[ struct evaluateFeatureDetectorRetval { struct KeyPointArray keypoints1, keypoints2; float repeatability; int correspCount; ...
mit
joaofvieira/luci
applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua
45
3678
-- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz> -- Licensed to the public under the GNU General Public License v2. m = Map("fwknopd", translate("Firewall Knock Operator")) s = m:section(TypedSection, "global", translate("Enable Uci/Luci control")) -- Set uci control on or off s.anonymous=true s:option(...
apache-2.0
githabbot/server22
plugins/tagall.lua
13
2876
--Tag ppl with username and a msg after it local function tagall(cb_extra, success, result) local receiver = cb_extra.receiver local chat_id = "chat#id"..result.id local text = '' for k,v in pairs(result.members) do if v.username then text = text.."> @"..v.username.."\n" end end text =...
gpl-2.0
persianstar/AdvanSource
system/libs/feedparser.lua
36
11976
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = (loadfile "./system/libs/XMLElement.lua")() local dateparser = (loadfile "./system/libs/dateparser.lua")() local URL = (loadfile "./system/libs/url.lua")() local tinsert, tremove, t...
gpl-2.0
philsiff/Red-Vs-Blue
Red Vs. Blue Files/lua/vgui/dbinder.lua
1
1634
--[[ _ ( ) _| | __ _ __ ___ ___ _ _ /'_` | /'__`\( '__)/' _ ` _ `\ /'_` ) ( (_| |( ___/| | | ( ) ( ) |( (_| | `\__,_)`\____)(_) (_) (_) (_)`\__,_) DBinder Select and press a key --]] local PANEL = {} AccessorFunc( PANEL, "m_iS...
mit
bradchesney79/2015BeastRouterProject
openwrt/unsquash/squashfs-root/usr/lib/lua/luci/controller/admin/status.lua
16
4403
-- 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. module("luci.controller.admin.status", package.seeall) function index() entry({"admin", "status"}, alias("admin", "status", "overview"), _("Status"), 20).ind...
cc0-1.0
rmtew/demirogue
src/Vector.lua
3
4677
-- -- Vector.lua -- -- None of the functions in here should assume the vector arguments have the -- Vector metatable to allow for some flexibility. -- Vector = {} Vector.__index = Vector function Vector.new( tbl ) -- TODO: this is probably slow but keeping it for the moment to ensure the -- change from { x,...
bsd-3-clause
openLuat/Luat
demo/testTask.lua
1
1826
--- 模块功能:testTask -- @module test -- @author openLuat -- @license MIT -- @copyright openLuat -- @release 2017.02.17 require "AM2320" require "audio" require "http" require "mono_lcd_i2c_ssd1306" module(..., package.seeall) -- sys.taskInit(function() -- if i2c.setup(2, i2c.SLOW) ~= i2c.SLOW then -- log.erro...
mit
yetsky/luci
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
36
15568
--[[ 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...
apache-2.0
cornernote/Minetest-WorldEdit
worldedit/init.lua
9
1339
--- Worldedit. -- @module worldedit -- @release 1.1 -- @copyright 2013 sfan5, Anthony Zhang (Uberi/Temperest), and Brett O'Donnell (cornernote). -- @license GNU Affero General Public License version 3 (AGPLv3) -- @author sfan5 -- @author Anthony Zang (Uberi/Temperest) -- @author Bret O'Donnel (cornernote) -- @a...
agpl-3.0
bradchesney79/2015BeastRouterProject
openwrt/unsquash/squashfs-root/usr/lib/lua/luci/model/cbi/firewall/zones.lua
45
2025
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ds = require "luci.dispatcher" local fw = require "luci.model.firewall" local m, s, o, p, i, v m = Map("firewall", translate("Firewall - Zone Settings"), translate("The firewall creates zones over your...
cc0-1.0
xiaowa183/Atlas
lib/ro-pooling.lua
40
7080
--[[ $%BEGINLICENSE%$ Copyright (c) 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 distribut...
gpl-2.0
daniel-slaney/demirogue
src/terrains.lua
3
1888
terrains = {} -- terrain.<name> = { -- walkable = <boolean>, -- colour = { [0.255], [0.255], [0.255], [0.255] } : { R, G, B, A } -- } -- TODO: we need to be able to have 'shimmering' terrain, e.g. water and lava. -- TODO: would be nice to have variations, e.g. different greens for trees. -- TODO: Might be wo...
bsd-3-clause
yetsky/luci
applications/luci-commands/luasrc/model/cbi/commands.lua
77
1141
--[[ LuCI - Lua Configuration Interface Copyright 2012 Jo-Philipp Wich <jow@openwrt.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 ]]-- local m,...
apache-2.0
ra100/nodemcu-lightsd
src/lifx.lua
1
1614
local lifx = {} local light = nil local baseurl = nil local sending = false local defaultDuration = 200 local function requestCallback(code, data) sending = false if DEBUG then if (code < 0) then print("HTTP request failed") else print(code, data) end end end local function sendBrightne...
gpl-3.0
yetsky/luci
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua
132
1057
--[[ netdiscover_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.i1...
apache-2.0
joaofvieira/luci
applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua
132
1057
--[[ netdiscover_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.i1...
apache-2.0
LuaDist2/luarocks
src/luarocks/fs/unix/tools.lua
7
7585
--- fs operations implemented with third-party tools for Unix platform abstractions. local tools = {} local fs = require("luarocks.fs") local dir = require("luarocks.dir") local cfg = require("luarocks.cfg") local vars = cfg.variables --- Adds prefix to command to make it run from a directory. -- @param directory s...
mit
REZATITAN/X
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
xXDarkBoyXx/Cloud-
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
pazos/koreader
frontend/ui/data/keyboardlayouts/fr_keyboard.lua
4
2100
-- Start with the english keyboard layout (deep copy, to not alter it) local fr_keyboard = require("util").tableDeepCopy(require("ui/data/keyboardlayouts/en_keyboard")) -- Swap the four AZWQ keys (only in the lowercase and -- uppercase letters layouts) to change it from QWERTY to AZERTY local keys = fr_keyboard.keys k...
agpl-3.0
kahluamods/konferpug
KPG-Config.lua
1
23978
--[[ KahLua KonferPUG - an open roll loot distribution helper for PUGs. WWW: http://kahluamod.com/kpug SVN: http://kahluamod.com/svn/konferpug IRC: #KahLua on irc.freenode.net E-mail: cruciformer@gmail.com Please refer to the file LICENSE.txt for the Apache License, Version 2.0. Co...
apache-2.0
yetsky/luci
build/setup.lua
99
1114
local SYSROOT = os.getenv("LUCI_SYSROOT") -- override uci access local uci_core = require "uci" local uci_model = require "luci.model.uci" uci_model.cursor = function(config, save) return uci_core.cursor(config or SYSROOT .. "/etc/config", save or SYSROOT .. "/tmp/.uci") end uci_model.cursor_state = function() re...
apache-2.0
miraage/gladdy
Libs/AceGUI-3.0/widgets/AceGUIWidget-BlizOptionsGroup.lua
7
3732
local AceGUI = LibStub("AceGUI-3.0") ------------- -- Widgets -- ------------- --[[ Widgets must provide the following functions Acquire() - Called when the object is aquired, should set everything to a default hidden state Release() - Called when the object is Released, should remove any anchors and hide the Wi...
mit
ZipFile/vlc
share/lua/intf/http.lua
25
10617
--[==========================================================================[ http.lua: HTTP interface module for VLC --[==========================================================================[ Copyright (C) 2007-2009 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> This progra...
gpl-2.0
NatWeiss/RGP
src/cocos2d-js/frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Scene.lua
7
1822
-------------------------------- -- @module Scene -- @extend Node -- @parent_module cc -------------------------------- -- Render the scene.<br> -- param renderer The renderer use to render the scene.<br> -- js NA -- @function [parent=#Scene] render -- @param self -- @param #cc.Renderer renderer -- @return Scene#Sc...
mit
destdev/ygopro-scripts
c62645025.lua
2
2711
--幻影騎士団ウロング・マグネリング function c62645025.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c62645025.condition) e1:SetTarget(c62645025.target) e1:SetOperation(c62645025.activate) c...
gpl-2.0
RwNigma/darkstar
scripts/zones/Dragons_Aery/Zone.lua
25
1705
----------------------------------- -- -- Zone: Dragons_Aery (154) -- ----------------------------------- package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Dragons_Aery/T...
gpl-3.0
RwNigma/darkstar
scripts/globals/effects/str_down.lua
18
1093
----------------------------------- -- -- EFFECT_STR_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_STR) - effec...
gpl-3.0
destdev/ygopro-scripts
c29826127.lua
7
1142
--暗黒よりの軍勢 function c29826127.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c29826127.target) e1:SetOperation(c29826127.activate) c:RegisterEffect(e1)...
gpl-2.0
Deadwing888/darkstar
scripts/globals/harvesting.lua
7
5960
------------------------------------------------- -- Harvesting functions -- Info from: -- http://wiki.ffxiclopedia.org/wiki/Harvesting ------------------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------...
gpl-3.0
RwNigma/darkstar
scripts/zones/Arrapago_Reef/npcs/Runic_Portal.lua
17
1863
----------------------------------- -- Area: Arrapago Reef -- NPC: Runic Portal -- Arrapago Reef Teleporter Back to Aht Urgan Whitegate -- @pos 15 -7 627 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
Nethertech/Intellectus
cocos2d/plugin/luabindings/auto/api/ProtocolUser.lua
146
1133
-------------------------------- -- @module ProtocolUser -- @extend PluginProtocol -- @parent_module plugin -------------------------------- -- brief config the application info<br> -- param devInfo This parameter is the info of aplication,<br> -- different plugin have different format<br> -- warning Must invoke this...
mit
destdev/ygopro-scripts
c88392300.lua
2
1358
--電送擬人エレキネシス function c88392300.initial_effect(c) --move local e2=Effect.CreateEffect(c) e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetCode(EVENT_FREE_CHAIN) e2:SetRange(LOCATION_HAND+LOCATION_MZONE) e2:SetCountLimit(1) e2:SetCost(c88392300.seqcost) e2:SetTarget(c88392300.seqtg)...
gpl-2.0
dromozoa/dromozoa-zmq
test/test_main.lua
1
1360
-- Copyright (C) 2017,2018 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-zmq. -- -- dromozoa-zmq 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, o...
gpl-3.0
RwNigma/darkstar
scripts/globals/spells/bluemagic/exuviation.lua
18
1854
----------------------------------------- -- Spell: Exuviation -- Restores HP and removes one detrimental magic effect -- Spell cost: 40 MP -- Monster Type: Vermin -- Spell Type: Magical (Fire) -- Blue Magic Points: 4 -- Stat Bonus: HP+5 MP+5 CHR+1 -- Level: 75 -- Casting Time: 3 seconds -- Recast Time: 60 se...
gpl-3.0
RwNigma/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm2.lua
17
2200
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Exits) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/title...
gpl-3.0
RwNigma/darkstar
scripts/zones/Apollyon/mobs/Jidra.lua
16
2173
----------------------------------- -- Area: Apollyon SW -- NPC: Jidra ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); -----------------------------...
gpl-3.0
destdev/ygopro-scripts
c99284890.lua
9
1073
--壺魔神 function c99284890.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(99284890,0)) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCost(c99284890.cost) e1:SetTarget(c9928489...
gpl-2.0
destdev/ygopro-scripts
c22093873.lua
4
2247
--M・HERO カミカゼ function c22093873.initial_effect(c) c:EnableReviveLimit() --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --battle indestructable local...
gpl-2.0
destdev/ygopro-scripts
c76647978.lua
1
5787
--超越融合 function c76647978.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(76647978,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c76647978.cost) e1:SetTarget(c76647978.target...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Windurst_Woods/npcs/Quesse.lua
12
1094
----------------------------------- -- Area: Windurst Woods -- NPC: Quesse -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") require("scripts/globals/shop") ----------------------------------- function onTrade(playe...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/abilities/earth_maneuver.lua
9
1886
----------------------------------- -- Ability: Earth Maneuver -- Enhances the effect of earth attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status") re...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/magic.lua
4
52844
require("scripts/globals/magicburst"); require("scripts/globals/settings"); require("scripts/globals/weather"); require("scripts/globals/status"); require("scripts/globals/utils"); require("scripts/globals/msg"); ------------------------------------ dsp = dsp or {}; dsp.magic = dsp.magic or {}; ----------------------...
gpl-3.0
etown/sysdig
userspace/sysdig/chisels/iobytes.lua
18
1666
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
destdev/ygopro-scripts
c5183693.lua
4
2493
--下克上の首飾り function c5183693.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c5183693.target) e1:SetOperation(c5183693.operation) c:RegisterEffect(e1) -...
gpl-2.0
RwNigma/darkstar
scripts/zones/Full_Moon_Fountain/npcs/Moon_Spiral.lua
19
1394
----------------------------------- -- Area: Full Moon Fountain -- NPC: Moon Spiral -- Involved in Quests: The Moonlit Path -- @pos -302 9 -260 170 ----------------------------------- package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"...
gpl-3.0
RwNigma/darkstar
scripts/zones/Windurst_Woods/npcs/Catalia.lua
38
1037
----------------------------------- -- Area: Windurst Woods -- NPC: Catalia -- Type: Standard NPC -- @zone: 241 -- @pos -46.160 -0.501 -32.698 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/The_Shrouded_Maw/bcnms/darkness_named.lua
30
2857
----------------------------------- -- Area: The_Shrouded_Maw -- Name: darkness_named ----------------------------------- package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/zones/Th...
gpl-3.0
sheldon/epgp
libs/AceLocale-3.0/AceLocale-3.0.lua
67
5637
--- **AceLocale-3.0** manages localization in addons, allowing for multiple locale to be registered with fallback to the base locale for untranslated strings. -- @class file -- @name AceLocale-3.0 -- @release $Id: AceLocale-3.0.lua 1035 2011-07-09 03:20:13Z kaelten $ local MAJOR,MINOR = "AceLocale-3.0", 6 local AceLoc...
bsd-3-clause
destdev/ygopro-scripts
c50725996.lua
4
1109
--ブラック・マジシャンズ・ナイト function c50725996.initial_effect(c) c:EnableReviveLimit() --special summon limit local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --des local e2=Effect.C...
gpl-2.0
ffxijuggalo/darkstar
scripts/commands/delquest.lua
11
1590
--------------------------------------------------------------------------------------------------- -- func: delquest <logID> <questID> <player> -- desc: Deletes the given quest from the GM or target player. --------------------------------------------------------------------------------------------------- require("sc...
gpl-3.0
RwNigma/darkstar
scripts/zones/Temenos/mobs/Enhanced_Beetle.lua
16
1046
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Beetle ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------...
gpl-3.0
maikerumine/grieftest
mods/mobs_mc/polar_bear.lua
1
2578
--MCmobs v0.4 --maikerumine --made for MC like Survival game --License for code WTFPL and otherwise stated in readmes --dofile(minetest.get_modpath("mobs").."/api.lua") --################### --################### POLARBEAR --################### mobs:register_mob("mobs_mc:polar_bear", { type = "animal", runawa...
lgpl-2.1
X-Coder/spacebuild
lua/entities/other_probe/cl_init.lua
4
9006
include('shared.lua') language.Add("other_probe", "Environment Probe") local OOO = {} OOO[0] = "Off" OOO[1] = "On" OOO[2] = "Overdrive" function ENT:DoNormalDraw(bDontDrawModel) local mode = self:GetNetworkedInt("overlaymode") if RD_OverLay_Mode and mode ~= 0 then -- Don't enable it if disabled by default! ...
apache-2.0
simonfork/aquaria
game_scripts/scripts/entities/phonograph.lua
6
3967
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
destdev/ygopro-scripts
c61231400.lua
2
1700
--炎神機-紫龍 function c61231400.initial_effect(c) --summon with 1 tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(61231400,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c61231400.otcon) e1:Se...
gpl-2.0
destdev/ygopro-scripts
c581014.lua
4
3081
--ダイガスタ・エメラル function c581014.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --ret&draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(581014,1)) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGN...
gpl-2.0
RwNigma/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/LaisavieXBerlends1.lua
36
1080
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Laisavie X Berlends -- @zone 80 -- @pos 26 2 6 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); -----------------------...
gpl-3.0
vlcchina/vlc-player-dev
share/lua/meta/art/01_googleimage.lua
18
1408
--[[ Gets an artwork from images.google.com $Id$ Copyright © 2007 the VideoLAN team 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; either version 2 of the License, or (at your option) any la...
gpl-2.0
rezatak21/TeleTakTaz
plugins/groupmanager.lua
166
11272
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if not is_admin(msg) then return "You're not admin!" end local group_creator = msg.from.print_name create_group_chat (group_cr...
gpl-2.0
destdev/ygopro-scripts
c24857466.lua
2
5090
--冥王竜ヴァンダルギオン function c24857466.initial_effect(c) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetCode(EVENT_CHAIN_NEGATED) e2:SetRange(LOCATION_HAND) e2:SetOperation(c24857466.chop) c:RegisterEffect(e2) --special summon local e3=Effect.CreateEffect(c) e3:SetDescript...
gpl-2.0
RwNigma/darkstar
scripts/zones/Bastok_Markets/npcs/Teerth.lua
19
1070
----------------------------------- -- Area: Bastok Markets -- NPC: Teerth -- Guild Merchant NPC: Goldsmithing Guild -- @zone: 235 -- @pos -205.190 -7.814 -56.507 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); --...
gpl-3.0
Deadwing888/darkstar
scripts/globals/spells/learned_etude.lua
27
1845
----------------------------------------- -- Spell: Learned Etude -- Static INT Boost, BRD 26 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMa...
gpl-3.0
destdev/ygopro-scripts
c62188962.lua
2
2266
--ヴァンパイア帝国 function c62188962.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atk local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetRange(LOCATION_FZONE) e2:SetCode(EFFECT_UPDATE_ATTACK) e2:Set...
gpl-2.0
Deadwing888/darkstar
scripts/globals/weaponskills/stardiver.lua
11
1566
----------------------------------- -- Stardiver -- Polearm weapon skill -- Skill Level: MERIT -- Delivers a fourfold attack. Damage varies with TP. -- Will stack with Sneak Attack. reduces params.crit hit evasion by 5% -- Element: None -- Modifiers: STR:73~85% -- 100%TP 200%TP 300%TP -- 0.75 1.25 ...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/entities/_unused/spikeyegg.lua
6
2485
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
RwNigma/darkstar
scripts/globals/items/tiny_goldfish.lua
18
1323
----------------------------------------- -- ID: 4310 -- Item: tiny_goldfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
destdev/ygopro-scripts
c53046408.lua
9
1189
--非常食 function c53046408.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c53046408.cost) e1:SetTarget(c53046408.target) e1:SetOperation(c53046408.activate) c:RegisterEffect(e1) end function c5...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Temenos/bcnms/Central_Temenos_Basement.lua
35
1202
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[C_Temenos_Base]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1301),T...
gpl-3.0
destdev/ygopro-scripts
c13301895.lua
2
1699
--失楽園 function c13301895.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Untargetable local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e2:SetRange(LOCATION_...
gpl-2.0
RwNigma/darkstar
scripts/zones/Windurst_Walls/npcs/Hiwon-Biwon.lua
36
3543
----------------------------------- -- Area: Windurst Walls -- NPC: Hiwon-Biwon -- Involved In Quest: Making Headlines, Curses, Foiled...Again!? -- Working 100% ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
RwNigma/darkstar
scripts/globals/mobs.lua
30
1617
----------------------------------- -- -- -- ----------------------------------- package.loaded["scripts/globals/conquest"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/missions"); require("scripts/globals/conquest"); require("scripts/globals/status"...
gpl-3.0
RwNigma/darkstar
scripts/zones/Empyreal_Paradox/mobs/Promathia.lua
13
2675
----------------------------------- -- Area: Empyreal Paradox -- NPC: Promathia ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/zones/Empyreal_Paradox/TextIDs"); ----------------------------------- -- onMobInitialize Action -------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Kazham/npcs/Bubupp.lua
13
3347
----------------------------------- -- Area: Kazham -- NPC: Bubupp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- -- item ...
gpl-3.0
RwNigma/darkstar
scripts/zones/Celennia_Memorial_Library/Zone.lua
17
1350
----------------------------------- -- -- Zone: Celennia Memorial Library (284) -- ----------------------------------- package.loaded["scripts/zones/Celennia_Memorial_Library/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Celennia_Memorial_Libr...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Windurst_Walls/npcs/Selulu.lua
13
1047
---------------------------------- -- Area: Windurst Walls -- NPC: Selulu -- Type: Item Deliverer -- @zone: 239 -- @pos 58.027 -2.5 -60.548 -- ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; require("scripts/zones/Windurst_Walls/TextIDs"); -----------------------...
gpl-3.0
vitorloco/BolScripts
KayleMechanics.lua
21
15290
--[[ _____ _____ __ .__ / \_______ / _ \________/ |_|__| ____ __ __ ____ ____ / \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \ / Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> ) \____|__ /__| \___...
gpl-2.0
tetoali605/THETETOO_A9
plugins/kickme.lua
3
1846
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY tetoo ▀▄ ▄▀ ▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀ ▀▄ ▄▀ kick me : مـلف مـغادره ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Crawlers_Nest_[S]/npcs/Kalsu-Kalasu.lua
29
1786
----------------------------------- -- Area: Crawlers Nest [S] -- NPC: Kalsu-Kalasu -- @pos 304.768 -33.519 -19.168 171 -- Notes: Gives Green Letter required to start "Snake on the plains" ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; -----------------------------...
gpl-3.0
destdev/ygopro-scripts
c27340877.lua
1
1194
--DNA定期健診 function c27340877.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c27340877.target) e1:SetOperation(c27340877.activate) c:RegisterEffect(e1) e...
gpl-2.0
takaaptech/Editgrid
examples/simple/main.lua
2
1884
-- fix path so all examples can use editgrid from parent directory. package.path = [[../../?.lua;]]..package.path local editgrid = require "editgrid" -- mouse location local mx, my = 0, 0 -- location of mouse on the grid local mWorldx, mWorldy = 0, 0 -- location of grid origin on screen local oScreenx, oScreeny = 0...
mit
Deadwing888/darkstar
scripts/zones/Cloister_of_Flames/bcnms/sugar-coated_directive.lua
27
1824
---------------------------------------- -- Area: Cloister of Flames -- BCNM: Sugar Coated Directive (ASA-4) -- @pos -721 0 -598 207 ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); r...
gpl-3.0
destdev/ygopro-scripts
c66523544.lua
6
1352
--超次元ロボ ギャラクシー・デストロイヤー function c66523544.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,10,3) c:EnableReviveLimit() --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(66523544,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:S...
gpl-2.0
w86021702/svr_demo
client/ckt_client.lua
1
2168
package.cpath = "luaclib/?.so" package.path = "lualib/?.lua;examples/?.lua;proto/?.lua;" if _VERSION ~= "Lua 5.3" then error "Use lua 5.3" end local socket = require "clientsocket" local proto = require "proto" local sproto = require "sproto" local host = sproto.new(proto.s2c):host "package" local request = host:at...
mit
destdev/ygopro-scripts
c96029574.lua
1
2962
--ブラック・ブルドラゴ function c96029574.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSynchroType,TYPE_DUAL),1) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(96029574,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNIT...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/survival_guide.lua
8
7012
require("scripts/globals/settings") require("scripts/globals/survival_guide_map") dsp = dsp or {} dsp.survivalGuide = dsp.survivalGuide or {} -- Determines if the survival guide teleport cost is like if you had a Rhapsody in White key item. Does not affect UI! (Default: 0) local SURVIVAL_GUIDE_TELEPORT_COST_GIL = 100...
gpl-3.0
destdev/ygopro-scripts
c2530830.lua
2
3161
--銀河眼の光波刃竜 function c2530830.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,9,3,c2530830.ovfilter,aux.Stringid(2530830,0)) c:EnableReviveLimit() --xyzlimit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT...
gpl-2.0
destdev/ygopro-scripts
c59160188.lua
2
2753
--闇黒世界-シャドウ・ディストピア- function c59160188.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --attribute local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetRange(LOCATION_FZONE) e2:SetTargetRange(LOCATIO...
gpl-2.0
linuxmaniac/pkg-prosody
tests/test_core_s2smanager.lua
1
1347
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- function compare_srv_priorities(csp) local r1 = { priority = 10, weight = 0 } local r2 = { priority = ...
mit
nikai3d/naev
dat/factions/spawn/empire.lua
6
3237
include("dat/factions/spawn/common.lua") include("dat/factions/spawn/mercenary_helper.lua") include("pilot/empire.lua") -- Uniques function empire_unique() local p = empire_create( true ) return {p} end -- @brief Spawns a small patrol fleet. function spawn_patrol () local pilots = {} local r = rnd.rnd() ...
gpl-3.0