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
RwNigma/darkstar
scripts/zones/Windurst_Waters/npcs/Taajiji.lua
35
1836
----------------------------------- -- Area: Windurst Waters -- NPC: Taajiji -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst_Waters...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/four-leaf_mandragora_bud.lua
35
1221
----------------------------------------- -- ID: 4369 -- Item: four-leaf_mandragora_bud -- Food Effect: 60Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -5 ----------------------------------------- require("scripts/globals/status"); ---------------------------------------...
gpl-3.0
Daltonsbot/Tele_Daltons
plugins/ingroup.lua
8
27541
do local function check_member(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[tostring(msg.to.id)] = { ...
gpl-2.0
avldya/neural-style
neural_style.lua
3
12008
require 'torch' require 'nn' require 'image' require 'optim' local loadcaffe_wrap = require 'loadcaffe_wrapper' -------------------------------------------------------------------------------- local cmd = torch.CmdLine() -- Basic options cmd:option('-style_image', 'examples/inputs/seated-nude.jpg', 'Styl...
mit
destdev/ygopro-scripts
c82012319.lua
9
1959
--スクラップ・ゴーレム function c82012319.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(82012319,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetT...
gpl-2.0
destdev/ygopro-scripts
c92933195.lua
9
1094
--霞の谷の風使い function c92933195.initial_effect(c) --hand adjust local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(92933195,0)) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCondition(c92933195.handcon) e1:SetOperation(c92933195...
gpl-2.0
Deadwing888/darkstar
scripts/globals/items/shiranui.lua
27
1221
----------------------------------------- -- ID: 17774 -- Item: Shiranui -- Additional Effect: Light Damage (night time only) ----------------------------------------- require("scripts/globals/status"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- function onAddi...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/crepe_paysanne.lua
11
1317
----------------------------------------- -- ID: 5772 -- Item: crepe_paysanne -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +10% (cap 30) -- STR +2 -- VIT +1 -- Magic Accuracy +15 -- Magic Defense +4 -- hHP +3 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
RwNigma/darkstar
scripts/zones/Riverne-Site_A01/Zone.lua
17
1898
----------------------------------- -- -- Zone: Riverne-Site_A01 -- ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Riverne-Site_A01/TextIDs"); require("scripts/globals/status"); require("scripts/...
gpl-3.0
destdev/ygopro-scripts
c66729231.lua
7
1178
--イビリチュア・ジールギガス function c66729231.initial_effect(c) c:EnableReviveLimit() --draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(66729231,0)) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCost(c66729231.cost) e1:SetTarget(c...
gpl-2.0
RwNigma/darkstar
scripts/zones/Rolanberry_Fields/TextIDs.lua
2
1197
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6406; -- Obtained: <item>. GIL_OBTAINED = 6407; -- Obtained <number> gil. NOT_ENOUGH_GIL = 6411; -- You do n...
gpl-3.0
Deadwing888/darkstar
scripts/globals/effects/dark_arts.lua
65
2045
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local helix = effect:get...
gpl-3.0
RwNigma/darkstar
scripts/zones/Davoi/npcs/!.lua
19
2445
----------------------------------- -- Area: Davoi -- NPC: ! -- Involved in Mission: The Davoi Report -- @pos 164 0.1 -21 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/keyit...
gpl-3.0
RwNigma/darkstar
scripts/zones/Giddeus/npcs/Ghoo_Pakya.lua
17
1990
----------------------------------- -- Area: Giddeus -- NPC: Ghoo Pakya -- Involved in Mission 1-3 -- @pos -139 0 147 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
RwNigma/darkstar
scripts/zones/Nashmau/npcs/Kyokyoroon.lua
17
1764
----------------------------------- -- Area: Nashmau -- NPC: Kyokyoroon -- Standard Info NPC -- @pos 18.020 -6.000 10.467 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globa...
gpl-3.0
Deadwing888/darkstar
scripts/globals/spells/bluemagic/saline_coat.lua
26
1336
----------------------------------------- -- Spell: Saline Coat -- Enhances magic defense -- Spell cost: 66 MP -- Monster Type: Luminians -- Spell Type: Magical (Light) -- Blue Magic Points: 3 -- Stat Bonus: VIT+2, AGI+2, MP+10 -- Level: 72 -- Casting Time: 3 seconds -- Recast Time: 60 seconds -- Duration: 60 seconds -...
gpl-3.0
destdev/ygopro-scripts
c12247206.lua
2
2992
--地獄の暴走召喚 function c12247206.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c12247206.condition) e1:SetTarget(c12247206.target) e1:SetOperation(c12247206.activate) c:RegisterEffect(e1) ...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Promyvion-Vahzl/npcs/_0m0.lua
13
1391
----------------------------------- -- Area: Promyvion vahzl -- NPC: Memory flux (3) ----------------------------------- package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Promyvion-Vahzl/TextIDs"); require("sc...
gpl-3.0
destdev/ygopro-scripts
c1353770.lua
7
1518
--神の居城-ヴァルハラ function c1353770.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(1353770,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:...
gpl-2.0
RwNigma/darkstar
scripts/zones/Pashhow_Marshlands/Zone.lua
17
4724
----------------------------------- -- -- Zone: Pashhow_Marshlands (109) -- ----------------------------------- package.loaded[ "scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; package.loaded[ "scripts/globals/missions"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; -------------------------...
gpl-3.0
destdev/ygopro-scripts
c3244563.lua
2
1381
--シールドスピア function c3244563.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c3244563....
gpl-2.0
destdev/ygopro-scripts
c20155904.lua
3
2451
--十二獣クックル function c20155904.initial_effect(c) --shuffle local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20155904,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_DESTROYED) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET) e1:SetCo...
gpl-2.0
destdev/ygopro-scripts
c46089249.lua
4
1650
--コアキリング function c46089249.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c46089249.cost) e1:SetTarget(c46089249.target) e1:SetOperati...
gpl-2.0
Phrogz/notifitable
test/lunity.lua
2
9712
--[=========================================================================[ Lunity v0.10.1 by Gavin Kistner See http://github.com/Phrogz/Lunity for usage documentation. Licensed under Creative Commons Attribution 3.0 United States License. See http://creativecommons.org/licenses/by/3.0/us/ for details. --...
mit
RwNigma/darkstar
scripts/zones/Bastok_Markets/npcs/HomePoint#1.lua
17
1262
----------------------------------- -- Area: Bastok Markets -- NPC: HomePoint#1 -- @pos -293.048 -10 -102.558 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets/TextIDs"); require("...
gpl-3.0
destdev/ygopro-scripts
c38120068.lua
4
1042
--トレード・イン function c38120068.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c38120068.cost) e1:SetTarget(c38120068.target) e1:SetOperation(c38120068.act...
gpl-2.0
RwNigma/darkstar
scripts/zones/Castle_Oztroja/npcs/_m75.lua
2
2291
----------------------------------- -- Area: Castle Oztroja -- NPC: _m75 (Torch Stand) -- Notes: Opens door _477 when _m72 to _m75 are lit -- @pos -139.643 -72.113 -62.682 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
RwNigma/darkstar
scripts/zones/Spire_of_Mea/npcs/Radiant_Aureole.lua
17
1078
----------------------------------- -- Area: Spire of Mea -- NPC: Radiant Aureole ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Spire_of_Mea/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
destdev/ygopro-scripts
c83370323.lua
1
1465
--トラパート function c83370323.initial_effect(c) -- local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BE_MATERIAL) e1:SetCondition(c83370323.con) e1:SetOperation(c83370323.op) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e...
gpl-2.0
destdev/ygopro-scripts
c60806437.lua
7
1301
--UFOタートル function c60806437.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(60806437,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c60806437.condition) e1:SetT...
gpl-2.0
RwNigma/darkstar
scripts/zones/Port_San_dOria/npcs/Bonarpant.lua
36
1375
----------------------------------- -- Area: Port San d'Oria -- NPC: Bonarpant -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/Tex...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/handful_of_bloody_chocolate.lua
35
1173
----------------------------------------- -- ID: 5646 -- Item: handful_of_bloody_chocolate -- Food Effect: 1hour, All Races ----------------------------------------- -- MP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/bataquiche.lua
11
1156
----------------------------------------- -- ID: 5168 -- Item: Bataquiche -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 8 -- Agility 1 -- Vitality -2 -- Ranged Acc % 7 -- Ranged Acc Cap 15 ----------------------------------------- require("scripts/globals/status") require("scripts/...
gpl-3.0
destdev/ygopro-scripts
c86174055.lua
2
2128
--スピッド・バード function c86174055.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(86174055,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:...
gpl-2.0
RwNigma/darkstar
scripts/globals/spells/bluemagic/blood_drain.lua
18
1704
----------------------------------------- -- Spell: Blood Drain -- Steals an enemy's HP. Ineffective against undead -- Spell cost: 10 MP -- Monster Type: Giant Bats -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 20 -- Casting Time: 4 seconds -- Recast Time: 90 second...
gpl-3.0
sina021/specialtg
plugins/Filter_word.lua
3
4131
local function save_filter(msg, name, value) local hash = nil if msg.to.type == 'chat' then hash = 'chat:'..msg.to.id..':filters' end if msg.to.type == 'user' then return 'فقط در گروه' end if hash then redis:hset(hash, name, value) return "انجام شد" end end local function get_filter_hash(...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua
9
3156
----------------------------------- -- Area: Bastok Markets -- NPC: Nbu Latteh -- Starts & Finishes Quest: Mom, The Adventurer? -- Starts Quest: The Signpost Marks the Spot ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/titles"); r...
gpl-3.0
destdev/ygopro-scripts
c42790071.lua
1
2961
--オルターガイスト・マルチフェイカー function c42790071.initial_effect(c) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(42790071,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetRange(LOCATION_HAND) e2:SetCode(EVENT_CHAIN_SOLVING) e2:SetCount...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/nosteau_herring.lua
11
1054
----------------------------------------- -- ID: 4482 -- Item: nosteau_herring -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------------------------------...
gpl-3.0
RwNigma/darkstar
scripts/zones/Bastok_Mines/npcs/Gorvik.lua
38
1045
----------------------------------- -- Area: Bastok Mines -- NPC: Gorvik -- Type: Past Event Watcher -- @zone: 234 -- @pos 21.033 -1 -98.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("script...
gpl-3.0
salihn11/ARMANDO
bot/utils.lua
61
15380
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-3.0
domoticz/domoticz
dzVents/runtime/tests/tstData.lua
10
9918
local testData = { domoticzData = { [1] = { ["id"] = 1, ["name"] = "device1", ["description"] = "Description 1"; ["batteryLevel"] = 10, ["signalLevel"] = 10, ["subType"] = "Zone"; ["timedOut"] = true, ["switchType"] = "Contact", ["switchTypeValue"] = 2, ["lastUpdate"] = "2016-03-20 12:...
gpl-3.0
Deadwing888/darkstar
scripts/globals/abilities/pets/searing_light.lua
34
1119
--------------------------------------------------- -- Searing Light --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/globals/magic"); --------------------------------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/abilities/reward.lua
12
6287
----------------------------------- -- Ability: Reward -- Feeds pet to restore its HP. -- Obtained: Beastmaster Level 12 -- Recast Time: 1:30 -- Duration: Instant ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/pets") require("scripts/gl...
gpl-3.0
angt/overthebox
feeds/packages/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi_stations.lua
58
2753
local ubus = require "ubus" local iwinfo = require "iwinfo" local function scrape() local metric_wifi_stations = metric("wifi_stations", "gauge") local metric_wifi_station_signal = metric("wifi_station_signal_dbm","gauge") local metric_wifi_station_inactive = metric('wifi_station_inactive_milliseconds', 'gauge...
gpl-3.0
RwNigma/darkstar
scripts/zones/Windurst_Woods/npcs/Palyalya.lua
38
1040
----------------------------------- -- Area: Windurst Woods -- NPC: Palyalya -- Type: Adv. Assistant -- @zone: 241 -- @pos 62.298 -3.499 -128.093 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ---------...
gpl-3.0
destdev/ygopro-scripts
c31303283.lua
4
1267
--陽炎獣 ヒッポグリフォ function c31303283.initial_effect(c) --cannot be target local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetValue(aux.tgoval) c:RegisterEffect(e1) --atkup local e2=Eff...
gpl-2.0
Deadwing888/darkstar
scripts/globals/spells/dextrous_etude.lua
27
1846
----------------------------------------- -- Spell: Dextrous Etude -- Static DEX Boost, BRD 32 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onM...
gpl-3.0
forthxu/talkbox
src/talkbox/agent.lua
1
2150
local skynet = require "skynet" local jsonpack = require "jsonpack" local netpack = require "netpack" local socket = require "socket" p=require("p.core") local CMD = {} local client_fd local function xfs_send(v) data = p.unpack(v) print("[LOG]",os.date("%m-%d-%Y %X", skynet.time()),"send ok",data.v,data.p) socket...
mit
Deadwing888/darkstar
scripts/globals/spells/bluemagic/healing_breeze.lua
27
1754
----------------------------------------- -- Spell: Healing Breeze -- Restores HP for party members within area of effect -- Spell cost: 55 MP -- Monster Type: Beasts -- Spell Type: Magical (Wind) -- Blue Magic Points: 4 -- Stat Bonus: CHR+2, HP+10 -- Level: 16 -- Casting Time: 4.5 seconds -- Recast Time: 15 seconds --...
gpl-3.0
destdev/ygopro-scripts
c59312550.lua
7
1415
--ジュラック・ヴェロー function c59312550.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59312550,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c59312550.condition) e1:S...
gpl-2.0
RwNigma/darkstar
scripts/zones/Metalworks/npcs/_6ld.lua
17
1318
----------------------------------- -- Area: Metalworks -- Door: _6ld (President's Office) -- @pos 92 -19 0.1 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Metalw...
gpl-3.0
destdev/ygopro-scripts
c80244114.lua
2
3750
--スターダスト・ファントム function c80244114.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(80244114,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(...
gpl-2.0
ldurniat/The-Great-Pong
scene/game/lib/liveBar.lua
2
1159
-- -- Moduł reprezentujący pasek z życiami -- -- Wymagane moduły local app = require( 'lib.app' ) local colors = require( 'lib.colors' ) -- Deklaracja modułu local M = {} -- Lokalne zmienne local mMax, mMin = math.max, math.min function M.new(options) -- Domyślne opcje options = options or {} local i...
mit
Deadwing888/darkstar
scripts/zones/North_Gustaberg_[S]/npcs/Mining_Point.lua
13
1078
----------------------------------- -- Area: North Gustaberg [S] -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/North_Gustaberg_[S]/TextIDs"); ...
gpl-3.0
RwNigma/darkstar
scripts/zones/Temenos/mobs/Enhanced_Mandragora.lua
16
1050
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Mandragora ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------...
gpl-3.0
RwNigma/darkstar
scripts/zones/Yhoator_Jungle/npcs/Mugha_Dovajaiho.lua
17
1853
----------------------------------- -- Area: Yhoator Jungle -- NPC: Mugha Dovajaiho -- @pos 202 0 -82 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest");...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Port_San_dOria/npcs/Arminibit.lua
9
1146
----------------------------------- -- Area: Port San d'Oria -- NPC: Arminibit -- Standard Info NPC ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) -- "Flyers for R...
gpl-3.0
meee1/ardupilot
libraries/AP_Scripting/examples/OOP_example.lua
9
3279
-- this is an example of how to do object oriented programming in Lua function constrain(v, minv, maxv) -- constrain a value between two limits if v < minv then return minv end if v > maxv then return maxv end return v end --[[ a PI controller with feed-forward implemented as a Lua obje...
gpl-3.0
angt/overthebox
feeds/luci/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/dns.lua
5
2165
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.dns", package.seeall) function item() return luci.i18n.translate("DNS") end function rrdargs( graph, plugin, plugin_instance ) local traffic = { title =...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Castle_Oztroja/npcs/_m74.lua
13
2224
----------------------------------- -- Area: Castle Oztroja -- NPC: _m74 (Torch Stand) -- Notes: Opens door _477 when _m72 to _m75 are lit -- @pos -59.525 -72.320 -62.379 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Windurst_Woods/npcs/Wije_Tiren.lua
17
1440
----------------------------------- -- Area: Windurst Woods -- NPC: Wije Tiren -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/serving_of_flounder_meuniere_+1.lua
18
1651
----------------------------------------- -- ID: 4345 -- Item: serving_of_flounder_meuniere_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Dexterity 6 -- Vitality 1 -- Mind -1 -- Ranged ACC 15 -- Ranged ATT % 14 -- Ranged ATT Cap 30 -- Enmity -3 ---------------------------------------...
gpl-3.0
destdev/ygopro-scripts
c73665146.lua
1
2302
--サイレント・マジシャン LV4 function c73665146.initial_effect(c) c:EnableCounterPermit(0x1) c:SetCounterLimit(0x1,5) --draw local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_DRAW) e1:SetRange(LOCATION_MZONE) e1:SetOperation(c73665146.addc) c:RegisterEffect(e1) --attac...
gpl-2.0
destdev/ygopro-scripts
c40217358.lua
1
2450
--ブルー・ダストン function c40217358.initial_effect(c) c:SetUniqueOnField(1,0,40217358) --cannot release local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_UNRELEASABLE_SUM) e1:SetValue(1) c:RegisterEffect(e1) local e2...
gpl-2.0
rryan/vlc
share/lua/sd/magnatune.lua
110
1935
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Rémi Duraffort <ivoire at videolan dot org> 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 ...
gpl-2.0
destdev/ygopro-scripts
c84389640.lua
2
2392
--窮鼠の進撃 function c84389640.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atkup local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetDescription(aux.Stringid(84389640,0)) e2:SetCategory(CATEGORY...
gpl-2.0
destdev/ygopro-scripts
c23118924.lua
6
1680
--エレメント・デビル function c23118924.initial_effect(c) --disable local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLED) e1:SetCondition(c23118924.discon) e1:SetOperation(c23118924.disop) c:RegisterEffect(e1) --chain attack local e2=Effect.CreateEffect(c) e2:S...
gpl-2.0
Deadwing888/darkstar
scripts/globals/weaponskills/glory_slash.lua
10
1549
----------------------------------- -- Glory Slash -- Sword weapon skill -- Skill Level: NA -- Only avaliable during Campaign Battle while weilding Lex Talionis. -- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun. -- Will stack with Sneak Attack. -- Aligned with the Flam...
gpl-3.0
destdev/ygopro-scripts
c13032689.lua
6
2419
--エクシーズ・ユニット function c13032689.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(c13032689.target) e1:SetOperation(c13032689.operation) c:RegisterEffect(...
gpl-2.0
ld-test/literal
spec/random_spec.lua
3
1369
local literal = require "literal" local serpent = require "serpent" local function random_var(is_key, deep) local key = math.random(1000) if key <= 100 then if is_key then return 0 else return nil end elseif key <= 200 then return false elseif key <= 300 then ...
unlicense
destdev/ygopro-scripts
c50282757.lua
3
1907
--E-HERO ヘル・スナイパー function c50282757.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,84327329,58932615,true,true) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EF...
gpl-2.0
domoticz/domoticz
dzVents/runtime/integration-tests/stage2.lua
6
27365
local log local dz local _ = require('lodash') local resTable = {} local err = function(msg) log(msg, dz.LOG_ERROR) end local tstMsg = function(msg, res) print('Stage: 2, ' .. msg .. ': ' .. tostring(res and 'OK' or 'FAILED')) end local handleResult = function(msg,res) tstMsg(msg,res) if res then resTable[msg]...
gpl-3.0
RwNigma/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hashayra.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Hashayra -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
RwNigma/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ironbound_Gate.lua
17
1500
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ironbound Gate ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ------------------------...
gpl-3.0
destdev/ygopro-scripts
c55673611.lua
6
1339
--サイコ・トリガー function c55673611.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c55673611.condition) e1:SetTarget(c55673611.target) e1:S...
gpl-2.0
destdev/ygopro-scripts
c64450427.lua
4
1437
--EMウィム・ウィッチ function c64450427.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(64450427,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_PZONE) e1:SetCountLimit(1...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Nhel_Urhahn.lua
13
1066
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Nhel Urhahn -- Type: Standard NPC -- @zone: 94 -- @pos -47.348 -4.499 47.117 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Windurst_Walls/npcs/Zokima-Rokima.lua
13
2899
----------------------------------- -- Area: Windurst Walls -- NPC: Zokima-Rokima -- Starts Windurst Missions -- @pos 0 -16 124 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; package.loaded["scripts/globals/missions"] = nil; ---------------------------...
gpl-3.0
RwNigma/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Cavernous_Maw.lua
58
1890
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Cavernous Maw -- @pos -334 -24 52 -- Teleports Players to Abyssea - Attohwa ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Quicksand_Caves/npcs/qm6.lua
27
2110
----------------------------------- -- Area: Quicksand Caves -- NPC: ??? (qm6) -- Bastok Mission 8.1 "The Chains That Bind Us" -- @pos ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/melon_snowcone.lua
39
1207
----------------------------------------- -- ID: 5712 -- Item: Melon Snowcone -- Food Effect: 5 Min, All Races ----------------------------------------- -- MP % 10 Cap 200 -- HP Healing 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
destdev/ygopro-scripts
c15800838.lua
1
1253
--マインドクラッシュ function c15800838.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_TOHAND) e1:SetCategory(CATEGORY_HANDES) e1:SetTarget(c15800838.target) e1:SetOperation(c15800838.operation) c:RegisterEffect(e1) en...
gpl-2.0
Deadwing888/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Beastmen_s_Banner.lua
13
1030
----------------------------------- -- Area: The_Sanctuary_of_ZiTah -- NPC: Beastmen_s_Banner -- @pos -399.822 0.161 -168.998 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Sanctuary_of_ZiTah/T...
gpl-3.0
mogaal/libquvi-scripts
share/media/dailymotion.lua
1
4665
-- libquvi-scripts v0.9.20131130 -- Copyright (C) 2010-2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU Affero General Public -- License as publis...
agpl-3.0
Deadwing888/darkstar
scripts/zones/Horlais_Peak/bcnms/the_secret_weapon.lua
27
2322
----------------------------------- -- Area: Horlais Peak -- Name: Mission Rank 7 -- @pos -509 158 -211 139 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
jcosborn/qhmc
lua/matrix.lua
1
6092
local matrix_mt = {} matrix_mt.__index = matrix_mt function matrix(nr,nc,v) local m = {nr=nr,nc=nc,n=nc*nr,e={}} if v then for i=1,m.n do m.e[i] = v[i] end else for i=1,m.n do m.e[i] = 0 end end return setmetatable(m,matrix_mt) end function matrix_mt.set(m,i,j,v) m.e[(i-1)*m.nc+j] = v end function matrix_mt._...
gpl-3.0
destdev/ygopro-scripts
c72302403.lua
2
2004
--光の護封剣 function c72302403.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c72302403.target) e1:SetOperation(c72302403.activate) c:RegisterEffect(e1) --cannot attack local e2=Effect.Create...
gpl-2.0
RwNigma/darkstar
scripts/globals/items/berry_snowcone.lua
39
1200
----------------------------------------- -- ID: 5710 -- Item: Berry Snowcone -- Food Effect: 5 Min, All Races ----------------------------------------- -- MP % 30 Cap 30 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
RwNigma/darkstar
scripts/zones/Crawlers_Nest/npcs/qm11.lua
57
2120
----------------------------------- -- Area: Crawlers' Nest -- NPC: qm11 (??? - Exoray Mold Crumbs) -- Involved in Quest: In Defiant Challenge -- @pos 98.081 -38.75 -181.198 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
rryan/vlc
share/lua/playlist/youtube_homepage.lua
113
1897
--[[ Parse YouTube homepage and browse pages. Next step is to recode firefox in VLC ... using Lua of course ;) $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 F...
gpl-2.0
LGCaerwyn/QSanguosha-Para-tangjs520-LGCaerwyn
extension-doc/15-Activate.lua
15
17885
--[[ 在 14-Responsing.lua 中集中介绍了 smart-ai.lua 中第三部分的内容。 这一文档将集中介绍与 smart-ai.lua 中第四部分“主动出牌”相关的内容。 首先介绍一个重要的函数: ! SmartAI:activate(use):响应 Room::activate 的函数。 % use: CardUseStruct* % 返回值:nil。 这个函数所要完成的任务,就是给 use.card 和 use.to 赋予恰当的值。 这两个值就决定了 AI 使用哪张牌,对谁使用。 在这里,有必要介绍一下程序在出牌阶段的流程。这部分流程的代码位于 gamerule.cpp 第 63 至 75 行。 ca...
lgpl-3.0
destdev/ygopro-scripts
c9523599.lua
4
1536
--スタック・リバイバー function c9523599.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(9523599,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_BE_MATERIAL) e1:SetCo...
gpl-2.0
linuxmaniac/pkg-prosody
util/sasl/scram.lua
4
9503
-- sasl.lua v0.4 -- Copyright (C) 2008-2010 Tobias Markmann -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice...
mit
RwNigma/darkstar
scripts/zones/Windurst_Waters/npcs/Prestapiq.lua
36
1606
----------------------------------- -- Area: Windurst Waters -- NPC: Prestapiq -- Only sells when Windurst controls Movalpolos -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Windurst_...
gpl-3.0
destdev/ygopro-scripts
c95526884.lua
4
1385
--ハイパーサイコガンナー function c95526884.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsRace,RACE_PSYCHO),1) c:EnableReviveLimit() --pierce local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_PIERCE) c:RegisterEffect(e1) --recover local e2=Effect.Crea...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Monarch_Linn/bcnms/savage.lua
13
1683
----------------------------------- -- Area: Monarch Linn -- Name: savage ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically entering the BCNM vi...
gpl-3.0
destdev/ygopro-scripts
c80955168.lua
4
1252
--王墓の罠 function c80955168.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c80955168.condition) e1:SetTarget(c80955168.target) e1:SetOperation...
gpl-2.0
RwNigma/darkstar
scripts/globals/abilities/healers_roll.lua
9
2928
----------------------------------- -- Ability: Healer's Roll -- Increases potency of "Cure" effect received for party members within area of effect -- Optimal Job: White Mage -- Lucky Number: 3 -- Unlucky Number: 7 -- Level: 20 -- -- Die Roll |No WHM |With WHM -- -------- ------- ----------- -- 1 ...
gpl-3.0
dromozoa/dromozoa-zmq
test/test.lua
1
1415
-- 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