repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
destdev/ygopro-scripts
c43973174.lua
4
1396
--ドラゴンを呼ぶ笛 function c43973174.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c43973174.target) e1:SetOperation(c43973174.activate) c:RegisterEffect(e1) end function c43973174.cfilter(...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Selbina/npcs/Torapiont.lua
13
1529
----------------------------------- -- Area: Selbina -- NPC: Torapiont -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); --------------------...
gpl-3.0
destdev/ygopro-scripts
c67675300.lua
6
1077
--スノーダスト・ドラゴン function c67675300.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(c67675300.spcon) e1:SetOperation(c67675300.spop) c:RegisterEffect(...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Maze_of_Shakhrami/Zone.lua
9
1366
----------------------------------- -- -- Zone: Maze of Shakhrami (198) -- ----------------------------------- local ID = require("scripts/zones/Maze_of_Shakhrami/IDs") require("scripts/globals/conquest") require("scripts/globals/treasure") require("scripts/globals/helm") ----------------------------------- function o...
gpl-3.0
nikai3d/naev
dat/ai/independent.lua
6
1385
include("dat/ai/tpl/generic.lua") include("dat/ai/personality/civilian.lua") mem.shield_run = 100 mem.armour_run = 100 mem.defensive = false mem.enemyclose = 500 mem.distressmsgfunc = sos -- Sends a distress signal which causes faction loss function sos () msg = { "Local security: requesting assistance!",...
gpl-3.0
wilbefast/roll-out-and-about
src/hump/gamestate.lua
3
2641
--[[ Copyright (c) 2010-2013 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
mit
aboasola/the3tetoo
plugins/setwelcome.lua
7
2596
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY tetoo ▀▄ ▄▀ ▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀ ▀▄ ▄▀ broadcast : وضــع الـتـرحيـب ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀...
gpl-2.0
lyntel/OpenRA
mods/cnc/maps/gdi04a/gdi04a.lua
22
4749
AutoTrigger = { CPos.New(51, 47), CPos.New(52, 47), CPos.New(53, 47), CPos.New(54, 47) } GDIHeliTrigger = { CPos.New(27, 55), CPos.New(27, 56), CPos.New(28, 56), CPos.New(28, 57), CPos.New(28, 58), CPos.New(28, 59)} Nod1Units = { "e1", "e1", "e3", "e3" } Auto1Units = { "e1", "e1", "e3" } KillsUntilReinforcements = 1...
gpl-3.0
MonkeyFirst/urho3d-staticmodel-instances
Sources/bin/Data/LuaScripts/09_MultipleViewports.lua
3
12720
-- Multiple viewports example. -- This sample demonstrates: -- - Setting up two viewports with two separate cameras -- - Adding post processing effects to a viewport's render path and toggling them require "LuaScripts/Utilities/Sample" local rearCameraNode = nil function Start() -- Execute the common sta...
mit
sina021/specialtg
plugins/info.lua
3
8929
do local Arian = 112392827 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value) return send_msg('chat#id'..msg.to.id, 'مقام کار...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Davoi/npcs/_45h.lua
9
1850
----------------------------------- -- Area: Davoi -- NPC: Howling Pond -- Used In Quest: Whence Blows the Wind -- !pos 21 0.1 -258 149 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); local ID = require("scripts/zones/Davoi/IDs"); --------------------------...
gpl-3.0
Deadwing888/darkstar
scripts/globals/abilities/pets/ecliptic_howl.lua
27
1252
--------------------------------------------------- -- Aerial Armor --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/utils"); -------------------------------------------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm4.lua
17
1830
----------------------------------- -- Area: The Sanctuary of Zitah -- NPC: ??? -- Finishes Quest: Lovers in the Dusk -- @zone 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/emerald_quiche.lua
18
1384
----------------------------------------- -- ID: 5171 -- Item: emerald_quiche -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 15 -- Agility 1 -- Ranged ACC % 7 -- Ranged ACC Cap 20 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Abyssea-Misareaux/Zone.lua
33
1482
----------------------------------- -- -- Zone: Abyssea - Misareaux -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Misareaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-Misareau...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/hypno_staff.lua
30
1064
----------------------------------------- -- ID: 17117 -- Item: Hypno Staff -- Additional Effect: Sleep ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- f...
gpl-3.0
meee1/ardupilot
libraries/AP_Scripting/examples/copter-circle-speed.lua
19
1366
-- Maintain a constant ground speed while flying in Circle mode even if the pilot adjusts the radius -- -- CAUTION: This script only works for Copter -- this script waits for the vehicle to be armed and in circle mode and then -- updates the target rate around the circle (in degrees / sec) to maintain the desired groun...
gpl-3.0
MrGrim48/prop_hunt
gamemode/modules/player_prop/sh_prop_hullchange.lua
1
2052
local PlayerMeta = FindMetaTable( "Player" ) -- Code from MechanicalMind's PropHunters with some tweaks local function checkCorner(mins, maxs, corner, ang) corner:Rotate(ang) mins.x = math.min(mins.x, corner.x) mins.y = math.min(mins.y, corner.y) maxs.x = math.max(maxs.x, corner.x) maxs.y = math.max(m...
mit
RwNigma/darkstar
scripts/globals/mobskills/Hydro_Canon.lua
18
1278
--------------------------------------------------- -- Hydro_Canon -- Description: -- Type: Magical -- additional effect : 40hp/tick Poison --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -----...
gpl-3.0
ichramm/LuaNode
test/simple/test-net-huge-write-finish.lua
3
1540
module(..., lunit.testcase, package.seeall) local common = dofile("common.lua") local net = require "luanode.net" function test() local huge_data = ("start"):rep(1240):rep(1024) local server = net.createServer(function (self, socket) --socket:setNoDelay() --socket.timeout = 0 socket:setEncoding("ut...
mit
shakhimardanov/microblx_and_examples
lua/ansicolors.lua
8
2162
-- Copyright (c) 2009 Rob Hoelz <rob@hoelzro.net> -- -- 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, m...
gpl-2.0
Deadwing888/darkstar
scripts/globals/abilities/wild_card.lua
28
1187
----------------------------------- -- Ability: Wild Card -- Has a random effect on all party members within area of effect. -- Obtained: Corsair Level 1 -- Recast Time: 1:00:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scr...
gpl-3.0
destdev/ygopro-scripts
c8875971.lua
9
1118
--光天使ウィングス function c8875971.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8875971,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c8875971.sptg) e1:SetOperation(c8875971....
gpl-2.0
openprocurement/openprocurement.auction.buildout
resty_modules/lualib/resty/redis/connector.lua
1
10684
local ipairs, pcall, error, tostring, type, next, setmetatable, getmetatable = ipairs, pcall, error, tostring, type, next, setmetatable, getmetatable local ngx_log = ngx.log local ngx_ERR = ngx.ERR local ngx_re_match = ngx.re.match local tbl_remove = table.remove local tbl_sort = table.sort local ok, tbl_new = pc...
apache-2.0
destdev/ygopro-scripts
c29357956.lua
1
4404
--剣闘獣ネロキウス function c29357956.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x19),3,true) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNC...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/mobskills/trinary_tap.lua
11
1675
--------------------------------------------- -- Trinary Tap -- Attempts to absorb three buffs from a single target, or otherwise steals HP. -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buffs ...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/gold_carp.lua
11
1048
----------------------------------------- -- ID: 4427 -- Item: gold_carp -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------------------------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Mhaura/npcs/Hagain.lua
9
1753
----------------------------------- -- Area: Mhaura -- NPC: Hagain -- Standard Info NPC ----------------------------------- local ID = require("scripts/zones/Mhaura/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/simit_+1.lua
19
1287
----------------------------------------- -- ID: 5597 -- Item: simit_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 18 -- Vitality 4 -- Defense 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
pouria346/selfbot3
plugins/chat.lua
1
1687
local function run(msg) if msg.text == "hi" then return "Hello bb" end if msg.text == "Hi" then return "Hello honey" end if msg.text == "Hello" then return "Hi bb" end if msg.text == "hello" then return "Hi honey" end if msg.text == "Salam" then return "Salam aleykom" end if msg.text == "salam" then return ...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/slice_of_cerberus_meat.lua
11
1230
----------------------------------------- -- ID: 5565 -- Item: slice_of_cerberus_meat -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Magic -10 -- Strength 6 -- Intelligence -6 ----------------------------------------- require("scripts/globals/status") require("scripts/globals...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Kazham/npcs/Kukupp.lua
9
5186
----------------------------------- -- Area: Kazham -- NPC: Kukupp -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); local path = { 43.067505, -11.000000, -177.214966, 43.583324, -11.000000, -178.104263, 44.581100, -11.000000, -178.253067, 45.459488, -11.000...
gpl-3.0
destdev/ygopro-scripts
c36521459.lua
1
2155
--Sin スターダスト・ドラゴン function c36521459.initial_effect(c) c:EnableReviveLimit() c:SetUniqueOnField(1,1,aux.FilterBoolFunction(Card.IsSetCard,0x23),LOCATION_MZONE) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Northern_San_dOria/npcs/Millechuca.lua
12
1946
----------------------------------- -- Area: Northern San d'Oria -- NPC: Millechuca -- Regional Marchant NPC -- Only sells when San d'Oria controls Vollbow. ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
chocochaos/GMGenie
Options/Macros.Whispers.lua
1
5468
--This file is part of Game Master Genie. --Copyright 2011-2014 Chocochaos --Game Master Genie 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 3 of the License. --Game Master Genie is distributed in the h...
gpl-3.0
Kong/kong
spec/05-migration/plugins/http-log/migrations/001_280_to_300_spec.lua
1
3211
local cjson = require "cjson" local tablex = require "pl.tablex" local uh = require "spec/upgrade_helpers" local HTTP_PORT = 29100 -- Copied from 3.x helpers.lua local function http_server(port, opts) local threads = require "llthreads2.ex" opts = opts or {} local thread = threads.new( { function(p...
apache-2.0
destdev/ygopro-scripts
c41803903.lua
1
3061
--魔界台本「ロマンティック・テラー」 function c41803903.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,41803903+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c41803903.target) e1:SetOpera...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Northern_San_dOria/npcs/Mevreauche.lua
12
1558
----------------------------------- -- Area: Northern San d'Oria -- NPC: Mevreauche -- Type: Smithing Guild Master -- !pos -193.584 10 148.655 231 ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs"); require("scripts/globals/crafting"); require("scripts/globals/status"); ----...
gpl-3.0
destdev/ygopro-scripts
c15313433.lua
7
1628
--インフェルニティ・リフレクター function c15313433.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(c15313433.cost) e1:SetTarget(c15313433....
gpl-2.0
RwNigma/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Blingbrix.lua
34
1234
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Blingbrix -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]/TextIDs"); require("scr...
gpl-3.0
destdev/ygopro-scripts
c90156158.lua
9
1547
--セイクリッドの超新生 function c90156158.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:SetCost(c90156158.cost) e1:SetTarget(c90156158.target) e1:SetOperation(c90156158....
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/viking_herring.lua
11
1267
----------------------------------------- -- ID: 5183 -- Item: viking_herring -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -3 -- Attack % 12 (cap 75) -- Ranged ATT % 12 (cap 75) ----------------------------------------- require("scripts/globals/status") require("scri...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/roast_carp.lua
18
1259
----------------------------------------- -- ID: 4537 -- Item: roast_carp -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Mind -1 -- Ranged ATT % 14 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
destdev/ygopro-scripts
c71616908.lua
4
1509
--ジェムナイト・アメジス function c71616908.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x1047),aux.FilterBoolFunction(Card.IsRace,RACE_AQUA),true) --spsummon condition local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetProp...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/abilities/pets/aero_iv.lua
11
1042
--------------------------------------------------- -- Aero 4 --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") require("scripts/globals/magic") --------------------------------------------------- functio...
gpl-3.0
angt/overthebox
feeds/luci/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua
10
36302
-- Copyright 2014-2015 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed under the Apache License, Version 2.0 local NXFS = require "nixio.fs" local SYS = require "luci.sys" local UTIL = require "luci.util" local DISP = require "luci.dispatcher" local DTYP = require "luci.cbi.datatypes" l...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Kazham/npcs/Kukupp.lua
13
5577
----------------------------------- -- Area: Kazham -- NPC: Kukupp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 43.067505, -11.000000, -177.214966, 43.583324, ...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/abilities/modus_veritas.lua
9
2046
----------------------------------- -- Ability: Modus Veritas -- Increases damage done by helix spells while lowering spell duration by 50%. -- Obtained: Scholar Level 65 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") r...
gpl-3.0
RwNigma/darkstar
scripts/globals/weaponskills/retribution.lua
30
1636
----------------------------------- -- Retribution -- Staff weapon skill -- Skill Level: 230 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Retribution, the quest Blood and Glory must be completed. -- Despite the appearance of throwing the staff, this is not a long-range Weapon Skil...
gpl-3.0
RwNigma/darkstar
scripts/zones/Valkurm_Dunes/mobs/Valkurm_Emperor.lua
27
1126
---------------------------------- -- Area: Valkurm Dunes -- NM: Valkurm Emperor ----------------------------------- ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer) -- Set VE's Window Open Time SetServerVariable("[POP]Valkurm_E...
gpl-3.0
destdev/ygopro-scripts
c73130445.lua
2
2237
--EMリザードロー function c73130445.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --destroy local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(LOCATION_PZONE) e2:SetCountLimit(1,73130445) e2:SetTarget(c73130445.destg) e2:S...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Southern_San_dOria/npcs/Legata.lua
24
2064
----------------------------------- -- Area: Southern San d'Oria -- NPC: Legata -- Starts and Finishes Quest: Starting a Flame (R) -- @zone 230 -- @pos 82 0 116 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
destdev/ygopro-scripts
c22993208.lua
2
2546
--炎王の急襲 function c22993208.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,22993208+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c22993208.condition) e1:SetTarget(c22993208.target) e...
gpl-2.0
RwNigma/darkstar
scripts/globals/mobskills/Oblivion_Smash.lua
25
1240
--------------------------------------------- -- Oblivion Smash -- -- Description: Deals damage to players within area of effect and inflicts blind, silence, bind, and weight. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown radial -- Notes: --------------------------------------...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/inferno_axe.lua
41
1069
----------------------------------------- -- ID: 16709 -- Item: Inferno Axe -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/inferno_axe.lua
41
1069
----------------------------------------- -- ID: 16709 -- Item: Inferno Axe -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
streamdataio/kong
kong/tools/ngx_stub.lua
5
1527
--- Stub _G.ngx for unit testing. -- Creates a stub for `ngx` for use by Kong's modules such as the DAO. It allows to use them -- outside of the nginx context such as when using the CLI, or unit testing. -- -- Monkeypatches the global `ngx` table. local reg = require "rex_pcre" _G.ngx = { req = {}, ctx = {}, h...
apache-2.0
destdev/ygopro-scripts
c30608985.lua
4
1281
--マジカル・アンダーテイカー function c30608985.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30608985,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1:SetTar...
gpl-2.0
cubeslinger/FishItUp
_fiu_init.lua
1
7095
-- -- Addon _fiu_init.lua -- Author marcob@marcob.org -- StartDate 27/02/2017 -- local addon, cD = ... function cD.getItemNumericRarity(r) local rarity = {} if r == nil then r = "common" end rarity["sellable"] = 1 rarity["common"] = 2 rarity["uncommon"] = 3 rarity["rare"]...
mit
RwNigma/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm1.lua
30
1356
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: ??? (Spawn Ob(ZNM T1)) -- @pos 542 0 -129 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Alzadaal_Undersea_Ruins/TextIDs...
gpl-3.0
Deadwing888/darkstar
scripts/zones/East_Sarutabaruta/npcs/Heih_Porhiaap.lua
13
1031
----------------------------------- -- Area: East Sarutabaruta -- NPC: Heih Porhiaap -- @pos -118.876 -4.088 -515.731 116 ----------------------------------- package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/zones/East_Sarutabaruta/TextIDs"...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/weaponskills/blade_kamu.lua
10
2157
----------------------------------- -- Blade Kamu -- Katana weapon skill -- Skill Level: N/A -- Lowers target's params.accuracy. Duration of effect varies with TP. Nagi: Aftermath effect varies with TP. -- Effect lasts 60 seconds @ 100 TP, 90 seconds @ 200 TP, and 120 seconds @ 300 TP -- Available only after completing...
gpl-3.0
destdev/ygopro-scripts
c84847656.lua
4
1070
--テレキアタッカー function c84847656.initial_effect(c) --destroy replace local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_DESTROY_REPLACE) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c84847656.destg) e1:SetValue(c84847656.value) e1:SetOperation(c84847656.desop) c:Reg...
gpl-2.0
destdev/ygopro-scripts
c15981690.lua
4
2023
--カーボネドン function c15981690.initial_effect(c) --atk up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(15981690,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetCondition(c15981690.upcon) e1:SetOperation(c1598...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/effects/spirit_surge.lua
12
1208
----------------------------------- -- -- dsp.effect.SPIRIT_SURGE -- ----------------------------------- require("scripts/globals/status") function onEffectGain(target, effect) -- The dragoon's MAX HP increases by % of wyvern MaxHP target:addMod(dsp.mod.HP, effect:getPower()) target:updateHealth() targ...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Caedarva_Mire/npcs/Runic_Portal.lua
25
2671
----------------------------------- -- Area: Caedarva Mire -- NPC: Runic Portal -- Caedarva Mire Teleporter Back to Aht Urhgan Whitegate -- @pos -264 -6 -28 79 (Dvucca) -- @pos 524 -28 -503 79 (Azouph) ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; --------------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Gusgen_Mines/npcs/Treasure_Chest.lua
13
3763
----------------------------------- -- Area: Gusgen Mines -- NPC: Treasure Chest -- Involved In Quest: The Goblin Tailor -- @zone 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("script...
gpl-3.0
destdev/ygopro-scripts
c5975022.lua
2
2570
--剣闘獣ムルミロ function c5975022.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(5975022,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(aux....
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Apollyon/mobs/Ice_Elemental.lua
9
2115
----------------------------------- -- Area: Apollyon SW -- Mob: Ice Elemental ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- function onMobDeath(mob, player, isKiller) end; function onMobDespawn(mob) local mobID = mob:getID(); -- print(mobID); loca...
gpl-3.0
StephenAshmore/paladin
src/paladin.lua
1
5899
require "global" require "program_memory" require "modules.tape" paladin = Object:extend() function paladin:new() self.labels = {} self.memory = {} self.modules = {} self.registers = {} end function paladin:bootstrap(prog) self.program = assert(prog, "Attempted to load nil program") -- create registers: -- ...
mit
chi-bd/clink
clink/lua/exec.lua
3
5515
-- -- Copyright (c) 2012 Martin Ridgers -- -- 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, publ...
gpl-3.0
focusworld/looper
plugins/anti_spam.lua
435
3886
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
matinbot/telegram
plugins/anti_spam.lua
435
3886
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Metalworks/npcs/Kaela.lua
13
1446
----------------------------------- -- Area: Metalworks -- NPC: Kaela -- Type: Adventurer's Assistant -- @pos 40.167 -14.999 16.073 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scri...
gpl-3.0
Fractal-Architect/Lua-Scripts
Factory Scripts/makeRandom/simil3.lua
1
19741
--[[ NAME: simil3.lua TYPE: Lua script for Oxidizer http://oxidizer.sourceforge.net/ DESCRIPTION: Batch generation of random genomes by similarity transforms. This script is the sequel of "randomiz3.lua" which generated random genomes by randomizing the (P1,P2) vectors and the origin O independently. simil3 by cont...
gpl-2.0
Deadwing888/darkstar
scripts/commands/npchere.lua
12
1336
--------------------------------------------------------------------------------------------------- -- func: @npchere <npcId> -- desc: Spawns an NPC and then moves it to the current position, if in same zone. -- Errors will despawn the mobID unless "noDepop" was specified (any value works). ----------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/porter_moogle_util.lua
9
33366
----------------------------------- -- Porter Moogle Utilities -- desc: Common functionality for Porter Moogles. ----------------------------------- require("scripts/globals/common"); -- Item IDs for all of the slips. local slipIds = { 29312, 29313, 29314, 29315, 29316, 29317, 29318, 29319, 29320, 29321, 29322, 29323,...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/abilities/fire_maneuver.lua
9
1882
----------------------------------- -- Ability: Fire Maneuver -- Enhances the effect of fire attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status") requ...
gpl-3.0
destdev/ygopro-scripts
c27796375.lua
9
2393
--影霊衣の大魔道士 function c27796375.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(27796375,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_RELEASE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DE...
gpl-2.0
vlcchina/vlc-player-dev
share/lua/meta/reader/filename.lua
48
1628
--[[ Gets an artwork for french TV channels $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
destdev/ygopro-scripts
c18444902.lua
9
1297
--タタカワナイト function c18444902.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(18444902,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_CHAIN_NEGATED) e1:S...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Northern_San_dOria/npcs/Yevgeny_IM.lua
13
5603
----------------------------------- -- Area: Northern Sandoria -- NPC: Yevgeny, I.M. -- @pos 45 -1 0 231 -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start Sup...
gpl-3.0
RwNigma/darkstar
scripts/zones/Windurst_Waters/npcs/Otete.lua
36
1453
----------------------------------- -- Area: Windurst_Waters -- NPC: Otete -- Only sells when Windurst controlls Li'Telor Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Windurs...
gpl-3.0
sharifteam/sharifbot2
plugins/ingroup.lua
30
48221
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
RwNigma/darkstar
scripts/zones/Sealions_Den/mobs/Mammet-22_Zeta.lua
16
3930
----------------------------------- -- Area: Sealions Den -- Mob: Mammet-22_Zeta ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ---------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Upper_Jeuno/npcs/Luto_Mewrilah.lua
13
1834
----------------------------------- -- Area: Upper Jeuno -- NPC: Luto Mewrilah -- @zone 244 -- @pos -53 0 45 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require...
gpl-3.0
destdev/ygopro-scripts
c1045143.lua
2
1267
--ギアギアーノ Mk-II function c1045143.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(1045143,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c1045143.sptg) e1:SetOperation(c1045...
gpl-2.0
Deadwing888/darkstar
scripts/globals/weaponskills/namas_arrow.lua
7
1633
----------------------------------- -- Skill Level: N/A -- Description: Additional Effect: Temporarily improves Ranged Accuracy -- Aligned with the Light Gorget, Snow Gorget & Aqua Gorget. -- Properties -- Element: N/A -- Skillchain Properties: Light/Distortion -- Modifiers: STR: 40% AGI: 40% -- Damage Multipliers by T...
gpl-3.0
destdev/ygopro-scripts
c31036355.lua
4
1608
--強制転移 function c31036355.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c31036355.target) e1:SetOperation(c31036355.activate) c:RegisterEffect(e1) end function c31036355.filter(c) local tp...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Tahrongi_Canyon/npcs/qm2.lua
13
2562
----------------------------------- -- Area: Tahrongi Canyon -- NPC: qm2 (???) -- Note: Used to spawn Yara Ma Yha Who -- @pos 271 0.001 -334 117 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ------------------------------------- require("scripts/globals/setting...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/trumpet_shell.lua
18
1317
----------------------------------------- -- ID: 5466 -- Item: Trumpet Shell -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
RwNigma/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Matifa.lua
37
1026
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Matifa -- Type: Standard NPC -- @pos -10.583 -1 -8.820 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegat...
gpl-3.0
destdev/ygopro-scripts
c12298909.lua
6
1936
--マテリアルドラゴン function c12298909.initial_effect(c) --Negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(12298909,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:SetR...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/abilities/spirit_surge.lua
12
1639
----------------------------------- -- Ability: Spirit Surge -- Adds your wyvern's strength to your own. -- Obtained: Dragoon Level 1 -- Recast Time: 1:00:00 -- Duration: 1:00 ----------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------- functi...
gpl-3.0
Seadragon91/SkyBlock
code/Events.lua
1
6463
-- Air generator function OnChunkGenerating(a_World, a_ChunkX, a_ChunkZ, a_ChunkDesc) if (a_World:GetName() == WORLD_NAME) then FillBlocks(a_ChunkDesc, a_ChunkX, a_ChunkZ) -- fill entire chunk with air end end function FillBlocks(a_ChunkDesc, a_ChunkX, a_ChunkZ) a_ChunkDesc:FillBlocks(E_BLOCK_AIR, 0) a_ChunkDesc...
apache-2.0
destdev/ygopro-scripts
c33158448.lua
1
3312
--F.A.ライトニングマスター function c33158448.initial_effect(c) c:EnableReviveLimit() aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) --atk up local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) ...
gpl-2.0
maikerumine/grieftest
mods/xdecor/handlers/nodeboxes.lua
3
1487
xdecor.box = { slab_y = function(height, shift) return { -0.5, -0.5+(shift or 0), -0.5, 0.5, -0.5+height+(shift or 0), 0.5 } end, slab_z = function(depth) return { -0.5, -0.5, -0.5+depth, 0.5, 0.5, 0.5 } end, bar_y = function(radius) return { -radius, -0.5, -radius, radius, 0.5, radius } end, cuboid = func...
lgpl-2.1
destdev/ygopro-scripts
c49080532.lua
6
1604
--インフェルニティ・ビートル function c49080532.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(49080532,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c49080532.condition) e1:SetCost(c49080532.cost) ...
gpl-2.0
RwNigma/darkstar
scripts/zones/RuLude_Gardens/npcs/HomePoint#1.lua
17
1251
----------------------------------- -- Area: RuLude Gardens -- NPC: HomePoint#1 -- @pos -6 3 0.001 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/glo...
gpl-3.0
RwNigma/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Brazier.lua
17
3620
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Brazier -- Involved in Quests: Save my Sister -- @pos 101 -33 -59 195 (F-9) -- @pos 259 -33 99 195 (H-7) -- @pos 99 -33 98 195 (F-7) -- @pos 259 -33 -58 195 (H-9) ----------------------------------- package.loaded["scripts/zones/The_E...
gpl-3.0