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
Lleafll/ldots
Libs/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua
49
7933
--[[----------------------------------------------------------------------------- Checkbox Widget -------------------------------------------------------------------------------]] local Type, Version = "CheckBox", 22 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(Type) ...
mit
destdev/ygopro-scripts
c38109772.lua
6
1865
--竜の騎士 function c38109772.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(38109772,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_HAND) e1:SetCondition(c38109772.condition) e1:SetCost(c38109...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Port_Bastok/npcs/Paujean.lua
12
2658
----------------------------------- -- Area: Port Bastok -- NPC: Paujean -- Starts & Finishes Quest: Silence of the Rams -- @pos -93.738 4.649 34.373 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings")...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/abilities/pets/attachments/inhibitor.lua
11
1096
----------------------------------- -- Attachment: Inhibitor ----------------------------------- require("scripts/globals/automaton") require("scripts/globals/status") ----------------------------------- function onEquip(pet) updateModPerformance(pet, dsp.mod.STORETP, 'inhibitor_mod', 5) pet:addMod(dsp.mod.AUT...
gpl-3.0
angt/overthebox
feeds/luci/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua
3
3061
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.cpu",package.seeall) local uci = require("luci.model.uci").cursor() local reportbystate = uci:get("luci_statistics", "collectd_cpu", "ReportByState...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/mobskills/mijin_gakure.lua
10
1082
--------------------------------------------------- -- Mijin Gakure --------------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/status") --------------------------------------------------- function onMobSkillCheck(target, mob, skill) return 0 end function...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Western_Adoulin/npcs/Eukalline.lua
12
1251
----------------------------------- -- Area: Western Adoulin -- NPC: Eukalline -- Type: Shop NPC -- !pos 40 32 121 256 ----------------------------------- require("scripts/globals/shop"); local ID = require("scripts/zones/Western_Adoulin/IDs"); ----------------------------------- function onTrade(player,npc,trade) en...
gpl-3.0
MrGrim48/prop_hunt
gamemode/modules/player_hunter/sh_hunter_propscanner.lua
1
6148
local ScanTime = 1 -- Time is takes to scan the target. local ResultTime = 3 -- Time to leave the result on screen local ShareResult = true local HostileColor = Color( 255,0,0 ) local NonHostileColor = Color( 0,255,0 ) if SERVER then util.AddNetworkString( "StartPropScanner" ) local tableScanTar...
mit
RwNigma/darkstar
scripts/zones/The_Garden_of_RuHmet/MobIDs.lua
30
1432
----------------------------------- -- Area: The Garden of Ru'Hmet -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Ix'Aern (DRG)'s minions - Wynavs IxAernDRG = 16921022; wynavA = 16921023; wynavB = 16921024; wynavC = 16921025; -- First Aw'Aerns in each g...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/dish_of_spaghetti_tonno_rosso_+1.lua
18
1379
----------------------------------------- -- ID: 5624 -- Item: Dish of Spaghetti Tonno Rosso +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Health % 13 -- Health Cap 185 -- Dexterity 2 -- Vitality 3 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
BreakVoid/DL_Project
Torch/train.lua
1
5707
require "nn" require "model" require "optim" require "torch" require "paths" require "pl" require "nnx" local opt = lapp[[ -s,--save (default "logs") subdirectory to save logs -f,--full use the full dataset -p,--plot plot while training ...
mit
destdev/ygopro-scripts
c76471944.lua
6
1730
--超重忍者サルト-B function c76471944.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE),aux.NonTuner(Card.IsSetCard,0x9a),1) c:EnableReviveLimit() --defense attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_DEFENSE_ATTACK)...
gpl-2.0
destdev/ygopro-scripts
c90351981.lua
4
1316
--オルフェゴール・バベル function c90351981.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --change effect type local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetCo...
gpl-2.0
simonfork/aquaria
game_scripts/scripts/entities/eric_sunkenmom.lua
6
1553
-- 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
crwnet/openwrt
package/crwsoft/luci-app-kcptun/luasrc/model/cbi/kcptun/serverconfig.lua
1
3556
--[[ openwrt-dist-luci: kcptun ]]-- local kcptun = "kcptun" local ds = require "luci.dispatcher" local ipkg = require("luci.model.ipkg") local m, s, o local speed_modes = { "normal", "fast", "fast2", "fast3", "manual" } local encrypt_methods = { "aes", "aes-128", "aes-192", "salsa20", "blowfish", "twofish...
gpl-2.0
simonfork/aquaria
game_scripts/scripts/entities/clockworkcrab.lua
6
4997
-- 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
x1957/thrift
lib/lua/TBufferedTransport.lua
43
2294
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
RwNigma/darkstar
scripts/globals/items/serving_of_bass_meuniere.lua
35
1559
----------------------------------------- -- ID: 4582 -- Item: serving_of_bass_meuniere -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 3 -- Dexterity 3 -- Agility 3 -- Mind -3 -- Ranged ACC % 6 -- Ranged ACC Cap 15 ----------------------------------------- require(...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/san_dorian_carrot.lua
18
1179
----------------------------------------- -- ID: 4389 -- Item: san_dorian_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Deadwing888/darkstar
scripts/zones/The_Shrouded_Maw/Zone.lua
32
1779
----------------------------------- -- -- Zone: The_Shrouded_Maw (10) -- ----------------------------------- package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Shrouded_Maw/TextIDs"); ---------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/bastore_sweeper.lua
11
1253
----------------------------------------- -- ID: 5473 -- Item: Bastore Sweeper -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality +3 -- Defense +15% Cap 50 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ---...
gpl-3.0
nikai3d/naev
dat/events/tutorial/tutorial-combat2.lua
11
8855
-- This is the tutorial: missile combat. include("dat/events/tutorial/tutorial-common.lua") -- localization stuff, translators would work here lang = naev.lang() if lang == "es" then else -- default english title1 = "Tutorial: Missile Combat" message1 = [[Welcome to the missile combat tutorial. Guided missil...
gpl-3.0
Deadwing888/darkstar
scripts/globals/weaponskills/gate_of_tartarus.lua
7
2034
----------------------------------- -- Gate Of Tartarus -- Staff weapon skill -- Skill Level: N/A -- Lowers target's attack. Additional effect: Refresh -- Refresh effect is 8mp/tick for 20 sec per 100 TP. -- Available only when equipped with the Relic Weapons Thyrus (Dynamis use only) and Claustrum, or the Chthonic Sta...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/maps/node_songdoormural.lua
5
1301
-- 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
ffxijuggalo/darkstar
scripts/zones/Quicksand_Caves/mobs/Antican_Signifer.lua
9
1151
----------------------------------- -- Area: Quicksand Caves -- Mob: Antican Signifer -- Note: PH for Centurio X-I and Antican Proconsul ----------------------------------- local ID = require("scripts/zones/Quicksand_Caves/IDs") require("scripts/globals/regimes") require("scripts/globals/mobs") -----------------------...
gpl-3.0
destdev/ygopro-scripts
c33248692.lua
7
1128
--オプションハンター function c33248692.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_RECOVER) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetRange(LOCATION_SZONE) e1:SetCondition(c33248692.condition) e1:SetTarge...
gpl-2.0
destdev/ygopro-scripts
c3846170.lua
4
2003
--カラクリ兵 弐参六 function c3846170.initial_effect(c) --must attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_MUST_ATTACK) c:RegisterEffect(e1) --to defense local e3=Effect.CreateEffect(c) e3:SetDescription(aux.Stringid(3846170,0)) e3:SetCategory(CATEGORY_POSITION) e3:SetType(...
gpl-2.0
destdev/ygopro-scripts
c76459806.lua
6
1183
--ヴォルカニック・ロケット function c76459806.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(76459806,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c76459806.tg) e1:SetOperatio...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/serving_of_crimson_jelly.lua
11
1105
----------------------------------------- -- ID: 5144 -- Item: serving_of_crimson_jelly -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 12 -- Magic Cap 85 -- Intelligence 6 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status") r...
gpl-3.0
destdev/ygopro-scripts
c59546528.lua
4
2001
--氷結界の舞姫 function c59546528.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59546528,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c59546528....
gpl-2.0
destdev/ygopro-scripts
c86827882.lua
1
2041
--極星宝メギンギョルズ function c86827882.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) 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...
gpl-2.0
RwNigma/darkstar
scripts/globals/weaponskills/sturmwind.lua
30
1526
----------------------------------- -- Sturmwind -- Great Axe weapon skill -- Skill level: 70 -- Delivers a two-hit attack. Attack varies with TP. -- Will stack with Sneak Attack, but only the first hit. -- Aligned with the Soil Gorget & Aqua Gorget. -- Aligned with the Soil Belt & Aqua Belt. -- Element: None ...
gpl-3.0
Deadwing888/darkstar
scripts/zones/AlTaieu/npcs/qm2.lua
26
1476
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Justice Spawn) -- Allows players to spawn the Jailer of Justice by trading the Second Virtue, Deed of Moderation, and HQ Xzomit Organ to a ???. -- @pos , -278 0 -463 ----------------------------------- package.loaded["scripts/zones/AlTaieu/Te...
gpl-3.0
maikerumine/grieftest
mods/mg_villages/trees.lua
5
8435
-- this code is taken from https://github.com/VanessaE/dreambuilder_game/blob/master/mods/default/trees.lua local c_air = minetest.get_content_id("air") local c_ignore = minetest.get_content_id("ignore") local c_tree = minetest.get_content_id("default:tree") local c_leaves = minetest.get_content_id("default:leaves") l...
lgpl-2.1
kennyledet/Algorithm-Implementations
Roman_Numerals/Lua/Yonaba/roman_test.lua
26
1056
-- Tests for roman.lua local roman = require 'roman' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 end local statu...
mit
Deadwing888/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Excavation_Point.lua
12
1675
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Excavation Point -- Used in Quest: The Holy Crest -- @pos 234 0.1 -110 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/excavation...
gpl-3.0
RwNigma/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Kilhwch1.lua
36
1123
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Kilhwch -- @zone 80 -- @pos -63 2 -50 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); --------------------------------...
gpl-3.0
destdev/ygopro-scripts
c58843503.lua
2
1936
--ミッド・ピース・ゴーレム function c58843503.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(58843503,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCondition(c58843503.spcon) e1:SetTarget(c...
gpl-2.0
destdev/ygopro-scripts
c55168550.lua
1
3257
--銀河剣聖 function c55168550.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(55168550,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,55168550) e1:SetCost(c55168550.spcost) e1:SetTarget(c55...
gpl-2.0
destdev/ygopro-scripts
c60992364.lua
1
4671
--ZW-獣王獅子武装 function c60992364.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,5,2) c:EnableReviveLimit() -- local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_DIRECT_ATTACK) c:RegisterEffect(e1) --search local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_TO...
gpl-2.0
Deadwing888/darkstar
scripts/globals/spells/bluemagic/self-destruct.lua
32
1265
----------------------------------------- -- Spell: Self-Destruct -- Sacrifices HP to damage enemies within range. Affects caster with Weakness -- Spell cost: 100 MP -- Monster Type: Arcana -- Spell Type: Magical (Fire) -- Blue Magic Points: 3 -- Stat Bonus: STR+2 -- Level: 50 -- Casting Time: 3.25 seconds -- Recast Ti...
gpl-3.0
mehrpouya81/tele_gold
plugins/anti-bot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Northern_San_dOria/npcs/Justi.lua
11
1172
----------------------------------- -- Area: Northern San d'Oria -- NPC: Justi -- Conquest depending furniture seller ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests") require("scripts/globals/shop") fun...
gpl-3.0
destdev/ygopro-scripts
c56460688.lua
2
2161
--異次元隔離マシーン function c56460688.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c56460688.target) e1:SetOperation(c56460688.operation) c:RegisterEffect(e1...
gpl-2.0
destdev/ygopro-scripts
c95992081.lua
9
1552
--虚空海竜リヴァイエール function c95992081.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,3,2) c:EnableReviveLimit() --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetDescription(aux.Stringid(95992081,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNI...
gpl-2.0
Deadwing888/darkstar
scripts/globals/mobskills/PL_Chaos_Blade.lua
58
1118
--------------------------------------------- -- Chaos Blade -- -- Description: Deals Dark damage to enemies within a fan-shaped area. Additional effect: Curse -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/sett...
gpl-3.0
RwNigma/darkstar
scripts/globals/mobskills/PL_Chaos_Blade.lua
58
1118
--------------------------------------------- -- Chaos Blade -- -- Description: Deals Dark damage to enemies within a fan-shaped area. Additional effect: Curse -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/sett...
gpl-3.0
destdev/ygopro-scripts
c24545464.lua
6
1123
--シンクロン・リフレクト function c24545464.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_BE_BATTLE_TARGET) e1:SetCondition(c24545464.condition) e1:SetTarget(c24545464.target) e1:SetOp...
gpl-2.0
streamdataio/kong
kong/cli/migrations.lua
8
4368
#!/usr/bin/env lua local Migrations = require "kong.tools.migrations" local constants = require "kong.constants" local cutils = require "kong.cli.utils" local utils = require "kong.tools.utils" local input = require "kong.cli.utils.input" local IO = require "kong.tools.io" local lapp = require "lapp" local args = lapp...
apache-2.0
RwNigma/darkstar
scripts/zones/Lufaise_Meadows/npcs/Logging_Point.lua
29
1107
----------------------------------- -- Area: Lufaise Meadows -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Lufaise_Meadows/TextIDs"); ...
gpl-3.0
RwNigma/darkstar
scripts/globals/effects/bust.lua
37
1640
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if (effect:getSubType() == MOD_DMG) then target:addM...
gpl-3.0
maikerumine/grieftest
mods/nyancat/init.lua
1
7639
--maikerumine added particles and light minetest.register_abm({ nodenames = {"nyancat:nyancat_rainbow"}, interval = 10, chance = 2, action = function(pos, node) minetest.add_particlespawner( 3, --amount was 16 4, --time {x=pos.x-0.5, y=pos.y-0.5, z=pos.z-0.5}, --minpos {x=pos.x+0.5, y=pos.y+0.5, z=po...
lgpl-2.1
ffxijuggalo/darkstar
scripts/globals/spells/temper.lua
12
1162
----------------------------------------- -- -- Spell: Temper -- ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") ----------------------------------------- function onMagicCastingCheck(caster, target, spell) return 0 end fu...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/entities/songleaf.lua
12
4267
-- 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
c78868776.lua
2
1867
--剣闘獣ラクエル function c78868776.initial_effect(c) --atk local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SET_BASE_ATTACK) e1:SetCondition(c78868776.atkcon) e1:SetValue(2100) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(788687...
gpl-2.0
butlerx/dotfiles
config/nvim/lua/utils.lua
1
1103
local utils = {} local api = vim.api utils.map = function(key) -- get the extra options local opts = { noremap = true, silent = true } for i, v in pairs(key) do if type(i) == "string" then opts[i] = v end end -- basic support for buffer-scoped keybindings local buff...
mit
simonfork/aquaria
game_scripts/scripts/maps/map_songcave.lua
6
3250
-- 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
Deadwing888/darkstar
scripts/globals/mobskills/Vorpal_Blade.lua
17
1618
--------------------------------------------- -- Vorpal Blade -- -- Description: Delivers a four-hit attack. Chance of critical varies with TP. -- Type: Physical -- Shadow per hit -- Range: Melee --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/entities/crystalholder.lua
5
4151
-- 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
Castux/distribution
distribution.lua
1
6255
local D = {} -- 5.1 compat if not table.unpack then table.unpack = unpack end -- Table operations local function table_product(t) local res = 1 for i,v in ipairs(t) do res = res * v end return res end local function table_copy(t) local res = {} for k,v in pairs(t) do res[k] = v end return res end loc...
mit
destdev/ygopro-scripts
c4215636.lua
2
2158
--霞の谷の祭壇 function c4215636.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 e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetDescription(aux.Stringid(4215636,0)) e2:SetT...
gpl-2.0
linuxmaniac/pkg-prosody
plugins/muc/mod_muc.lua
2
8103
-- 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. -- if module:get_host_type() ~= "component" then error("MUC should be loaded as a component, please see ht...
mit
destdev/ygopro-scripts
c71564150.lua
2
1787
--地獄の傀儡魔人 function c71564150.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCost(c71564150.cost) e1:SetTarget(c71564150.target) e1:SetOperation(c71564150.operation) c:RegisterE...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Crawlers_Nest/npcs/Olavia.lua
13
1025
----------------------------------- -- Area: Crawlers' Nest -- NPC: Olavia -- Type: Escort NPC -- @pos 379.638 -33.051 -0.533 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Crawlers_Nest/TextIDs"); --...
gpl-3.0
destdev/ygopro-scripts
c38049541.lua
2
1542
--A・ジェネクス・ケミストリ function c38049541.initial_effect(c) --att change local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(38049541,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_HAND) e1:SetCost(c38049541.coscost) e1:SetTarge...
gpl-2.0
destdev/ygopro-scripts
c76442347.lua
2
1989
--子型ペンギン function c76442347.initial_effect(c) --flip effect local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_FLIP) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetOperation(c76442347.flipop) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffec...
gpl-2.0
RwNigma/darkstar
scripts/zones/Bastok_Mines/npcs/Goraow.lua
34
2470
----------------------------------- -- Area: Bastok Mines -- NPC: Goraow -- Starts Quests: Vengeful Wrath -- @pos 38 .1 14 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("script...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/spells/bluemagic/mp_drainkiss.lua
12
2483
----------------------------------------- -- Spell: MP Drainkiss -- Steals an enemy's MP. Ineffective against undead -- Spell cost: 20 MP -- Monster Type: Amorphs -- Spell Type: Magical (Dark) -- Blue Magic Points: 4 -- Stat Bonus: MP+5 -- Level: 42 -- Casting Time: 4 seconds -- Recast Time: 90 seconds -- Magic Bursts ...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/grilled_lik.lua
36
1153
----------------------------------------- -- ID: 5648 -- Item: Grilled Lik -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 4 -- Mind -1 ---------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Metalworks/npcs/Baldric.lua
11
1253
----------------------------------- -- Area: Metalworks -- NPC: Baldric -- Type: Quest Giver -- !pos -50.858 1.777 -31.141 237 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/quests"); local ID = require("scripts/zones/Metalworks/IDs"); --------------------------------...
gpl-3.0
destdev/ygopro-scripts
c975299.lua
2
3817
--巨大要塞ゼロス function c975299.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetOperation(c975299.activate) c:RegisterEffect(e1) --atk/def up local e2=Effect.CreateEffect(c) e2:SetType(E...
gpl-2.0
x684867/nemesis
src/node/deps/v8/tools/gcmole/gcmole.lua
4
11552
-- Copyright 2011 the V8 project authors. 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, this list of ...
mit
ffxijuggalo/darkstar
scripts/globals/items/carp_sushi.lua
11
1087
----------------------------------------- -- ID: 4407 -- Item: carp_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Accuracy % 10 (cap 52) -- HP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status") require("scripts/globa...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Sauromugue_Champaign_[S]/npcs/Indescript_Markings.lua
26
1405
----------------------------------- -- Area: Sauromugue Champaign [S] -- NPC: Indescript Markings -- @pos 322 24 113 -- Quest NPC ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sauromugue_Champaign_...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Cavernous_Maw.lua
29
1474
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Cavernous Maw -- @pos 597 -32 279 119 -- Teleports Players to Meriphataud Mountains [S] ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
destdev/ygopro-scripts
c31632536.lua
6
1371
--ラヴァル・ツインスレイヤー function c31632536.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsAttribute,ATTRIBUTE_FIRE),1) c:EnableReviveLimit() --chain attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLED) e1:SetOperatio...
gpl-2.0
elptito/EmptyEpsilon
scripts/comms_ship.lua
1
6394
--- Basic ship comms. -- -- Simple ship comms that allows setting orders if friendly. -- Default script for any `CpuShip`. -- -- @script comms_ship -- NOTE this could be imported local MISSILE_TYPES = {"Homing", "Nuke", "Mine", "EMP", "HVLI"} --- Main menu of communication. -- -- Uses one of `friendlyComms`, `neutral...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/nebimonite_bake.lua
11
1077
----------------------------------------- -- ID: 4459 -- Item: nebimonite_bake -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Vitality 2 -- Defense % 25 -- Defense Cap 70 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/ms...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Port_San_dOria/npcs/Coribalgeant.lua
13
1360
----------------------------------- -- Area: Port San d'Oria -- NPC: Coribalgeant -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs")...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Beadeaux/npcs/Haggleblix.lua
13
7235
----------------------------------- -- Area: Beadeaux -- NPC: Haggleblix -- Type: Dynamis NPC -- @pos -255.847 0.595 106.485 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
Kong/kong
spec/03-plugins/29-acme/01-client_spec.lua
1
7927
local util = require("resty.acme.util") local helpers = require "spec.helpers" local cjson = require "cjson" local pkey = require("resty.openssl.pkey") local x509 = require("resty.openssl.x509") local client local function new_cert_key_pair(expire) local key = pkey.new(nil, 'EC', 'prime256v1') local crt = x509....
apache-2.0
moses1984/aafmt
book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/layered/library.lua
3
3904
-- Copyright 2012 by Till Tantau -- -- This file may be distributed an/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd...
gpl-2.0
Deadwing888/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Lennart.lua
13
1106
---------------------------------- -- Area: The Eldieme Necropolis [S] -- NPC: Lennart -- Type: Item Deliverer -- @pos 378.783 -36 61.805 175 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Jugner_Forest/IDs.lua
8
2789
----------------------------------- -- Area: Jugner_Forest ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.JUGNER_FOREST] = { text = { NOTHING_HAPPENS = 141, -- Nothing happens... ITEM_CANNOT_...
gpl-3.0
destdev/ygopro-scripts
c7025445.lua
2
2508
--パワー・ジャイアント function c7025445.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c7025445.spcon) e1:SetOperation(c7025445.spop) e1:SetValue(1) c:Reg...
gpl-2.0
RwNigma/darkstar
scripts/globals/items/meatloaf.lua
39
1357
----------------------------------------- -- ID: 5689 -- Item: Meatloaf -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Strength 6 -- Agility 2 -- Intelligence -3 -- Attack 20% Cap 75 ----------------------------------------- require("scripts/globals/status"); ---------------------------...
gpl-3.0
RwNigma/darkstar
scripts/zones/Horlais_Peak/Zone.lua
32
1645
----------------------------------- -- -- Zone: Horlais_Peak (139) -- ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Horlais_Peak/TextIDs"); ---------------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Batallia_Downs/mobs/Weeping_Willow.lua
7
1046
----------------------------------- -- Area: Batallia Downs -- MOB: Weeping Willow ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobFight Action -----------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Cape_Teriggan/TextIDs.lua
15
1454
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6384; ...
gpl-3.0
destdev/ygopro-scripts
c18444733.lua
2
2543
--雷龍放電 function c18444733.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --inactivatable local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_CANNOT_INACTIVATE) e2:SetRange(LOCATION_SZON...
gpl-2.0
RwNigma/darkstar
scripts/zones/Lufaise_Meadows/mobs/Colorful_Leshy.lua
29
1658
----------------------------------- -- Area: Lufaise Meadows -- MOB: Colorful Leshy ----------------------------------- ----------------------------------- function onMobSpawn(mob) local Defoliate_Leshy = 16875763; GetMobByID(Defoliate_Leshy):setLocalVar("1", os.time() + math.random((43200), (86400))); ...
gpl-3.0
RwNigma/darkstar
scripts/zones/Beaucedine_Glacier_[S]/npcs/Luhk_Leotih_MC.lua
38
1069
----------------------------------- -- Area: Beaucedine Glacier (S) -- NPC: Luhk Leotih, M.C. -- Type: Campaign Arbiter -- @zone: 136 -- @pos 76.178 -60.763 -48.775 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier_[...
gpl-3.0
sheldon/epgp
modules/ldb.lua
5
1700
local mod = EPGP:NewModule("ldb") local L = LibStub:GetLibrary("AceLocale-3.0"):GetLocale("EPGP") function mod:StopRecurringAward() self.ldb.text = L["Idle"] end function mod:RecurringAwardUpdate(event_type, reason, amount, time_left) local fmt, val = SecondsToTimeAbbrev(time_left) self.ldb.text = string.forma...
bsd-3-clause
RwNigma/darkstar
scripts/zones/Mhaura/npcs/Standing_Bear.lua
34
1052
----------------------------------- -- Area: Mhaura -- NPC: Standing Bear ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); ----------------------------------- require("scripts/globals/set...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Norg/npcs/Keal.lua
17
4282
----------------------------------- -- Area: Norg -- NPC: Keal -- Starts and Ends Quest: It's Not Your Vault ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scri...
gpl-3.0
sina021/specialtg
plugins/link.lua
11
3844
do local function run(msg, matches) local data = load_data(_config.moderation.data) if not is_chat_msg(msg) then return else if data[tostring(msg.to.id)] then local settings = data[tostring(msg.to.id)]['settings'] if #matches == 2 then if matches[1] == 'ewlink' and is_owner(msg) then local function link_call...
gpl-2.0
destdev/ygopro-scripts
c51099515.lua
2
1848
--恐撃 function c51099515.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(c51099515.con...
gpl-2.0
der-flo/dotfiles
hammerspoon/Spoons/Seal.spoon/seal_vpn.lua
6
8066
local obj = {} obj.__index = obj obj.__name = "seal_vpn" function obj:commands() return {vpn = { cmd = "vpn", fn = obj.choicesVPNCommand, name = "VPN", description = "Manage VPN connections", plugin = obj.__name } } end function obj:bare() return nil end fu...
mit
Deadwing888/darkstar
scripts/zones/Windurst_Woods/npcs/Pulonono.lua
13
1060
----------------------------------- -- Area: Windurst Woods -- NPC: Pulonono -- Type: VCS Chocobo Trainer -- @zone: 241 -- @pos 130.124 -6.35 -119.341 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/wild_pineapple.lua
35
1201
----------------------------------------- -- ID: 4598 -- Item: wild_pineapple -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -5 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- ...
gpl-3.0