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
dickeyf/darkstar
scripts/zones/Port_Windurst/npcs/Machu-Kuchu.lua
13
1090
----------------------------------- -- Area: Port Windurst -- Machu-Kuchu -- Warps players to Windurst Walls ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c100000007.lua
2
3333
--時械神 ザフィオン function c100000007.initial_effect(c) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SINGLE_RANGE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetRange(LOCATION_DECK) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1)...
gpl-2.0
dickeyf/darkstar
scripts/zones/Rabao/npcs/Leodarion.lua
1
3698
----------------------------------- -- Area: Rabao -- NPC: Leodarion -- Involved in Quest: 20 in Pirate Years, I'll Take the Big Box, True Will -- @pos -50 8 40 247 ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
cuboxi/android_external_skia
tools/lua/scrape.lua
145
2246
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
tasdomas/nodemcu-build
fw/nodemcu-firmware/lua_modules/lm92/lm92.lua
52
2140
-- ****************************************************** -- LM92 module for ESP8266 with nodeMCU -- -- Written by Levente Tamas <levente.tamas@navicron.com> -- -- GNU LGPL, see https://www.gnu.org/copyleft/lesser.html -- ****************************************************** -- Module Bits local moduleName = ... loca...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c44852429.lua
2
3054
--DDD呪血王サイフリート function c44852429.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0xaf),1) c:EnableReviveLimit() --negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(44852429,0)) e1:SetCategory(CATEGORY_DISABLE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:...
gpl-2.0
Turttle/darkstar
scripts/zones/Newton_Movalpolos/TextIDs.lua
7
1479
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6383; -- Obtained: <item>. GIL_OBTAINED = 6384; -- Obtained <number> gil. KEYITEM_OBTAINED = 6386; -- Obtained...
gpl-3.0
Turttle/darkstar
scripts/zones/Bastok_Mines/npcs/Zemedars.lua
34
1818
----------------------------------- -- Area: Bastok Mines -- NPC: Zemedars -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); --------------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c50164989.lua
7
1028
--ダーク・ヴァージャー function c50164989.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(50164989,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetRange(LOCATION_GRAVE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCondition(c50164...
gpl-2.0
trex2000/WifiBot
ESP8266/ESPlorer/_lua/test300.lua
3
9900
print("This is line number 1") print("This is line number 2") print("This is line number 3") print("This is line number 4") print("This is line number 5") print("This is line number 6") print("This is line number 7") print("This is line number 8") print("This is line number 9") print("This is line num...
gpl-3.0
Turttle/darkstar
scripts/zones/Throne_Room/bcnms/Where_two_paths_converge.lua
19
1523
----------------------------------- -- Area: Throne Room -- Name: Mission 9-2 -- @pos -111 -6 0 165 ----------------------------------- package.loaded["scripts/zones/Throne_Room/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scr...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c7044562.lua
6
1131
--魂のカード function c7044562.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:SetCountLimit(1,7044562+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c7044562.target) e1:SetOperation(c7044562.activate)...
gpl-2.0
Turttle/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua
50
5024
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Miah Riyuh -- @pos 5.323 -2 37.462 94 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyite...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c83743222.lua
2
2490
--女神の聖弓-アルテミス function c83743222.initial_effect(c) c:EnableReviveLimit() --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --equip local e2=Effect.Creat...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c4896788.lua
4
1310
--強欲な壺の精霊 function c4896788.initial_effect(c) --draw local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_MZONE) e1:SetOperation(aux.chainreg) c:RegisterEffect(e1) local e2=Effect.CreateEf...
gpl-2.0
fgenesis/Aquaria_experimental
game_scripts/scripts/maps/node_spawnmergog.lua
6
1398
-- 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
SalvationDevelopment/Salvation-Scripts-TCG
c61173621.lua
9
2122
--エッジインプ・チェーン function c61173621.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(61173621,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCountLimit(1,61173621) e1:SetTarget...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c32271987.lua
9
1365
--フェデライザー function c32271987.initial_effect(c) --tograve & draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(32271987,0)) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c32271987.condition) ...
gpl-2.0
Turttle/darkstar
scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua
16
1277
----------------------------------- -- Area: Apollyon SE -- NPC: Metalloid_Amoeba ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); -------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c89818984.lua
2
3804
--花札衛-柳に小野道風- function c89818984.initial_effect(c) c:EnableReviveLimit() --spsummon from hand local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_HAND) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetCondition(c89818984.hspcon) e1:SetOperation(c89818...
gpl-2.0
dickeyf/darkstar
scripts/zones/Dynamis-Buburimu/mobs/Apocalyptic_Beast.lua
6
1510
----------------------------------- -- Area: Dynamis Buburimu -- MOB: Apocalyptic_Beast ----------------------------------- package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Buburimu/TextIDs"); requir...
gpl-3.0
Metastruct/pac3
lua/pac3/extra/shared/modifiers/model.lua
1
1962
if CLIENT then -- so the client knows it exists pacx.AddServerModifier("model", function(data, owner) end) function pacx.SetModel(path) net.Start("pac_setmodel") net.WriteString(path) net.SendToServer() end end if SERVER then function pacx.SetPlayerModel(ply, model) if model:find("^http") then pac.Me...
gpl-3.0
robo-crc/scoreboard
extern/lua/base/table.lua
12
3195
-- -- table.lua -- Additions to Lua's built-in table functions. -- Copyright (c) 2002-2008 Jason Perkins and the Premake project -- -- -- Returns true if the table contains the specified value. -- function table.contains(t, value) for _,v in pairs(t) do if (v == value) then return true end end retu...
mit
sejbr/cqui
Integrations/BTS/UI/tradeoverview.lua
3
86820
-- =========================================================================== -- SETTINGS -- =========================================================================== local alignTradeYields = true local showNoBenefitsString = false local showSortOrdersPermanently = false local hideTradingPostIcon = false -- Color...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c13317419.lua
2
3750
--ロケットハンド function c13317419.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCountLimit(1,13317419)...
gpl-2.0
darcy0511/Dato-Core
src/unity/python/graphlab/lua/pl/config.lua
21
6527
--- Reads configuration files into a Lua table. -- Understands INI files, classic Unix config files, and simple -- delimited columns of values. See @{06-data.md.Reading_Configuration_Files|the Guide} -- -- # test.config -- # Read timeout in seconds -- read.timeout=10 -- # Write timeout in seconds -- wri...
agpl-3.0
dickeyf/darkstar
scripts/zones/Temenos/mobs/Moblin_Dustman.lua
7
1102
----------------------------------- -- Area: Temenos N T -- NPC: Moblin_Dustman ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c69946549.lua
2
2090
--捕食植物ドラゴスタペリア function c69946549.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionType,TYPE_FUSION),aux.FilterBoolFunction(Card.IsFusionAttribute,ATTRIBUTE_DARK),true) --add counter local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid...
gpl-2.0
Turttle/darkstar
scripts/globals/weaponskills/blast_shot.lua
30
1320
----------------------------------- -- Blast Shot -- Marksmanship weapon skill -- Skill Level: 200 -- Delivers a melee-distance ranged attack. params.accuracy varies with TP. -- Aligned with the Snow Gorget & Light Gorget. -- Aligned with the Snow Belt & Light Belt. -- Element: None -- Modifiers: AGI:30% -- 10...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c59019082.lua
6
1473
--ライトロード・ウォリアー ガロス function c59019082.initial_effect(c) --discard deck local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetCategory(CATEGORY_DECKDES+CATEGORY_DRAW) e1:SetDescription(aux.Stringid(59019082,0)) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondi...
gpl-2.0
VoxelDavid/roblox-island-tycoon
src/game/StarterPlayer/StarterPlayerScripts/Client.lua
1
1273
-- ClassName: LocalScript local replicatedStorage = game:GetService("ReplicatedStorage") local nevermore = require(replicatedStorage:WaitForChild("NevermoreEngine")) local getRemoteEvent = nevermore.GetRemoteEvent local getRemoteFunction = nevermore.GetRemoteFunction -- Allows the client to trigger the income toggle...
mit
Turttle/darkstar
scripts/globals/weaponskills/rudras_storm.lua
30
1690
----------------------------------- -- Rudra's Storm -- Dagger weapon skill -- Skill level: N/A -- Deals triple damage and weighs target down (duration: 60s). Damage varies with TP. -- Aligned with the Aqua Gorget, Snow Gorget & Shadow Gorget. -- Aligned with the Aqua Belt, Snow Belt & Shadow Belt. -- Element: N...
gpl-3.0
Turttle/darkstar
scripts/zones/Den_of_Rancor/npcs/Treasure_Coffer.lua
17
3342
----------------------------------- -- Area: Den of Rancor -- NPC: Treasure Coffer -- @zone 160 -- @pos ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems...
gpl-3.0
pspk/NewTableViewDemo
unitTestListing.lua
2
7673
-- Copyright (C) 2013 Corona Inc. All Rights Reserved. local widget = require( "widget" ) local storyboard = require( "storyboard" ) local scene = storyboard.newScene() local USE_ANDROID_THEME = false local USE_IOS7_THEME = true local isGraphicsV1 = ( 1 == display.getDefault( "graphicsCompatibility" ) ) local to...
mit
Turttle/darkstar
scripts/zones/Mhaura/npcs/Jikka-Abukka.lua
17
1510
----------------------------------- -- Area: Mhaura -- NPC: Jikka-Abukka -- Involved in Quest: Riding on the Clouds -- @pos -13 -15 58 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
dickeyf/darkstar
scripts/globals/items/blindfish.lua
18
1309
----------------------------------------- -- ID: 4313 -- Item: Blindfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------...
gpl-3.0
eugeneia/snabb
src/lib/protocol/gre.lua
9
5188
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local ffi = require("ffi") local C = ffi.C local header = require("lib.protocol.header") local lib = require("core.lib") local bitfield = lib.bitfield local ipsum = require("lib.checksum").ipsum local ntohs, hton...
apache-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c7868571.lua
3
1858
--メタルフォーゼ・シルバード function c7868571.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --destroy and set local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_PZONE) e1:SetCountLimit(1) e1:Se...
gpl-2.0
Turttle/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua
34
1200
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Fayeewah -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c8487449.lua
7
2375
--ジェスター・コンフィ function c8487449.initial_effect(c) c:SetUniqueOnField(1,0,8487449) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_SPSUM_PARAM+EFFECT_FLAG_UNCOPYABLE) e1:SetTargetRange(POS_FACEUP_ATTACK,0) e1:SetRange(LOCAT...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c81325903.lua
5
1668
--アマゾネスの呪詛師 function c81325903.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c81325903.target) e1:SetOperation(c81325903.activate) c:RegisterEffec...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c22858242.lua
2
1925
--猿魔王ゼーマン function c22858242.initial_effect(c) --synchro summon aux.AddSynchroProcedure2(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),aux.NonTuner(Card.IsRace,RACE_BEAST)) c:EnableReviveLimit() --actlimit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetProperty(EFFECT_FLAG_PLAYER...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c81983656.lua
4
4134
--BF T-漆黒のホーク・ジョー function c81983656.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x33),aux.NonTuner(Card.IsSetCard,0x33),1) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(81983656,0)) e1:SetCategory(CATE...
gpl-2.0
Turttle/darkstar
scripts/zones/Bastok_Markets/npcs/Zacc.lua
31
1547
----------------------------------- -- Area: Bastok Markets -- NPC: Zacc -- Type: Quest NPC -- @zone: 235 -- @pos -255.709 -13 -91.379 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/globals/quests...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c30314994.lua
6
1131
--エレメント・ドラゴン function c30314994.initial_effect(c) --atk local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetValue(500) e1:SetCondition(c30314994.atkcon) c:RegisterEffect(e1) --chain attack l...
gpl-2.0
Turttle/darkstar
scripts/zones/Mount_Zhayolm/npcs/qm3.lua
16
1173
----------------------------------- -- Area: Mount Zhayolm -- NPC: ??? (Spawn Anantaboga(ZNM T2)) -- @pos -368 -13 366 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); --------------...
gpl-3.0
dickeyf/darkstar
scripts/zones/Upper_Jeuno/npcs/Areebah.lua
13
1296
----------------------------------- -- Area: Upper Jeuno -- NPC: Areebah -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
Turttle/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Yasmina.lua
36
1058
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Yasmina -- Type: Chocobo Renter -- @zone: 94 -- @pos -34.972 -5.815 221.845 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c3019642.lua
2
3007
--サイバー・ダーク・キール function c3019642.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(3019642,0)) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c3019642...
gpl-2.0
dickeyf/darkstar
scripts/zones/West_Sarutabaruta/npcs/Cavernous_Maw.lua
29
1467
----------------------------------- -- Area: West Sarutabaruta -- NPC: Cavernous Maw -- Teleports Players to West Sarutabaruta [S] -- @pos -2.229 0.001 -162.715 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
eugeneia/snabb
lib/luajit/testsuite/test/computations.lua
6
2071
do --- ack local function Ack(m, n) if m == 0 then return n+1 end if n == 0 then return Ack(m-1, 1) end return Ack(m-1, (Ack(m, n-1))) -- The parentheses are deliberate. end assert(Ack(3,5) == 253) end do --- ack notail local function Ack(m, n) if m == 0 then return n+1 end if n == 0 the...
apache-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c6691855.lua
2
2283
--鎖付き尖盾 function c6691855.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCondition(c6691855.condit...
gpl-2.0
Turttle/darkstar
scripts/zones/Windurst_Woods/npcs/Abby_Jalunshi.lua
38
1042
----------------------------------- -- Area: Windurst Woods -- NPC: Abby Jalunshi -- Type: Moghouse Renter -- @zone: 241 -- @pos -101.895 -5 36.172 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -------...
gpl-3.0
Turttle/darkstar
scripts/globals/items/kazham_pineapple.lua
35
1203
----------------------------------------- -- ID: 4432 -- Item: kazham_pineapple -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -5 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
eugeneia/snabb
lib/luajit/testsuite/test/lib/string/lower_upper.lua
6
1040
do --- smoke assert(("abc123DEF_<>"):lower() == "abc123def_<>") assert(("abc123DEF_<>"):upper() == "ABC123DEF_<>") end do --- repeated local l = "the quick brown fox..." local u = "THE QUICK BROWN FOX..." local s = l for i = 1, 75 do s = s:upper() assert(s == u) s = s:lower() assert(s == l)...
apache-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c23516703.lua
6
1252
--サモンリミッター function c23516703.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --summon count limit local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetRange(LOCATION_SZONE) e2:SetCode(EFFECT_CANNOT_...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c5284653.lua
9
1059
--ヴェルズ・オ・ウィスプ function c5284653.initial_effect(c) --Disable local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(5284653,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLED) e1:SetCondition(c5284653.condition) e1:SetOperation(c5284653.operation) c:RegisterEffect(e1) end f...
gpl-2.0
alexcrichton/mal
lua/step7_quote.lua
40
4344
#!/usr/bin/env lua local table = require('table') local readline = require('readline') local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local Env = require('env') local core = require('core') local List, Vector, HashMap = types.List, typ...
mpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c51351302.lua
9
1349
--ウジャト眼を持つ男 function c51351302.initial_effect(c) --confirm local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(51351302,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c51351302.target) e1:SetOperation(c513...
gpl-2.0
Turttle/darkstar
scripts/globals/mobskills/Optic_Induration.lua
18
1335
--------------------------------------------- -- Optic Induration -- -- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification &amp; enmity reset -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone...
gpl-3.0
Turttle/darkstar
scripts/zones/Port_Windurst/npcs/Sheia_Pohrichamaha.lua
36
1535
----------------------------------- -- Area: Port Windurst -- NPC: Sheia Pohrichamaha -- Only sells when Windurst controlls Fauregandi Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/z...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c56746202.lua
9
1989
--スクラップ・キマイラ function c56746202.initial_effect(c) Duel.EnableGlobalFlag(GLOBALFLAG_SCRAP_CHIMERA) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(56746202,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCE...
gpl-2.0
iskygame/skynet
lualib/snax.lua
15
3814
local skynet = require "skynet" local snax_interface = require "snax.interface" local snax = {} local typeclass = {} local interface_g = skynet.getenv("snax_interface_g") local G = interface_g and require (interface_g) or { require = function() end } interface_g = nil skynet.register_protocol { name = "snax", id =...
mit
dickeyf/darkstar
scripts/globals/items/plate_of_vegan_sautee.lua
18
1386
----------------------------------------- -- ID: 5184 -- Item: plate_of_vegan_sautee -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -1 -- Ranged ACC % 7 -- Ranged ACC Cap 20 ----------------------------------------- require("scripts/globals/status"); -------------...
gpl-3.0
tdzl2003/luaqt
tools/mocparser/main.lua
1
2167
-- NOTICE: -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTOR...
bsd-3-clause
dabo123148/WarlightMod
AdvancedDiploModV4/Server_GameCustomMessage.lua
1
12057
function Server_GameCustomMessage(game, playerID, payload, setReturnTable) publicGameData = Mod.PublicGameData; playerGameData = Mod.PlayerGameData; local rg = {}; if(payload.Message == "Accept Allianze" or payload.Message == "Deny Allianze")then if(playerGameData[playerID].AllyOffers[payload.OfferedBy] == n...
mit
Turttle/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_540.lua
17
2177
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Cermet Door for Windy Ambassador -- Windurst Mission 3.3 "A New Journey" -- @pos 636 16 59 184 ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ------------------...
gpl-3.0
Turttle/darkstar
scripts/zones/AlTaieu/npcs/HomePoint#1.lua
17
1228
----------------------------------- -- Area: AlTaieu -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/AlTaieu/TextIDs"); require("scripts/globals/homepoint"); --------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c66607691.lua
2
1474
--フォトン・ジェネレーター・ユニット function c66607691.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:SetCost(c66607691.cost) e1:SetTarget(c66607691.target) e1:SetOperation(c66607691.activate) c:RegisterEffec...
gpl-2.0
deepmind/meltingpot
meltingpot/lua/modules/avatar_grappling.lua
1
6450
--[[ Copyright 2022 DeepMind Technologies Limited. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
apache-2.0
Turttle/darkstar
scripts/zones/Crawlers_Nest/npcs/Treasure_Coffer.lua
17
3973
----------------------------------- -- Area: Crawler Nest -- NPC: Treasure Coffer -- @zone 197 -- @pos -94 0 207 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
Turttle/darkstar
scripts/zones/Port_Windurst/npcs/Kumama.lua
36
1748
----------------------------------- -- Area: Port Windurst -- NPC: Kumama -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs...
gpl-3.0
platux/vlc
share/lua/meta/art/01_googleimage.lua
74
1764
--[[ Gets an artwork from images.google.com $Id$ Copyright © 2007 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any la...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c100000197.lua
2
2384
--アトリビュート・ボム function c100000197.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(c100000197.target) e1:SetOperation(c100000197.operation) c:RegisterEffe...
gpl-2.0
omidtarh/fbot
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
varpeti/Suli
Grafika/grafika.lua
1
1186
--[[ 02.27 ]] Modellezés Geometria 2D pont vonal síkidom 3D test Magasabb dimmenzió -> leképzés Tört dimmenzió fraktálok --[[ 02.20 előad ]] Raszter pixel, voxel gazdag színvilág Megjelenítők többsége Vektor ská...
unlicense
Turttle/darkstar
scripts/zones/Nashmau/npcs/Wata_Khamazom.lua
34
1438
----------------------------------- -- Area: Nashmau -- NPC: Wata Khamazom -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); -----...
gpl-3.0
dickeyf/darkstar
scripts/zones/Southern_San_dOria/npcs/Rouva.lua
13
1734
----------------------------------- -- Area: Southern San d'Oria -- NPC: Rouva -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -17 2 10 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c1073952.lua
9
1186
--マジック・プランター function c1073952.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(c1073952.cost) e1:SetTarget(c1073952.target) e1:SetOperation(c1073952.acti...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c86848580.lua
2
2107
--零鳥獣シルフィーネ function c86848580.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WINDBEAST),4,2) c:EnableReviveLimit() --negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(86848580,0)) e1:SetCategory(CATEGORY_DISABLE) e1:SetType(EFFECT_TYPE_IGNITION)...
gpl-2.0
Turttle/darkstar
scripts/zones/Throne_Room/npcs/_4l4.lua
51
1172
----------------------------------- -- Area: Throne Room -- NPC: Ore Door ------------------------------------- require("scripts/globals/bcnm"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) if (TradeBCNM(player,player:ge...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c46337945.lua
7
1592
--儀水鏡の瞑想術 function c46337945.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(c46337945.cost) e1:SetTarget(c46337945.target) e1:SetOperation(c46337945.act...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c14148099.lua
4
2150
--巨大戦艦 ビッグ・コア function c14148099.initial_effect(c) c:EnableCounterPermit(0x1f) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(14148099,0)) e1:SetCategory(CATEGORY_COUNTER) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c1414809...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c83108603.lua
6
2057
--陽炎柱 function c83108603.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --decrease tribute local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_DECREASE_TRIBUTE) e2:SetRange(LOCATION_SZO...
gpl-2.0
Turttle/darkstar
scripts/zones/Port_San_dOria/npcs/Laucimercen.lua
36
1377
----------------------------------- -- Area: Port San d'Oria -- NPC: Laucimercen -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/T...
gpl-3.0
mamaddeveloper/hhw
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
adib1380/anit-spam-2
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
dickeyf/darkstar
scripts/zones/La_Theine_Plateau/npcs/Vicorpasse.lua
13
2247
----------------------------------- -- Area: La Theine Plateau -- NPC: Vicorpasse -- Involved in Mission: The Rescue Drill -- @pos -344 37 266 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"...
gpl-3.0
wljcom/vlc
share/lua/playlist/katsomo.lua
97
2906
--[[ Translate www.katsomo.fi video webpages URLs to the corresponding movie URL $Id$ Copyright © 2009 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 o...
gpl-2.0
fgenesis/Aquaria_experimental
game_scripts/scripts/entities/clam.lua
1
5221
-- 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
dickeyf/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Scythe.lua
7
1506
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Scythe ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEnga...
gpl-3.0
thedraked/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Calliope_IM.lua
14
3350
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Calliope, I.M. -- Outpost Conquest Guards -- @pos -40.079 -0.642 -148.785 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
thedraked/darkstar
scripts/zones/Rala_Waterways_U/Zone.lua
17
1103
----------------------------------- -- -- Zone: Rala Waterways U -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Rala_Waterways_U/TextIDs"] = nil; require("scripts/zones/Rala_Waterways_U/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
GitoriousLispBackup/praxis
prods/Cognitive/midiplaybackwithsustain.lua
2
1246
function recorder.playback(r) if r.currnote <= #r.notes then local note = r.notes[r.currnote] while note ~= nil and r.framenum == note.frame do --if r.framenum == note.frame then if note.midi[1] == 144 then -- note on --print("Note on: ".. note.midi[2]) --midiNoteOn(not...
mit
latenitefilms/hammerspoon
LuaSkin/LuaSkinTests/lsunit.lua
6
4360
-- Note: This file is shared between LuaSkinTests and Hammerspoon Tests local bundlePath = ... if (type(bundlePath) == "string") then package.path = bundlePath.."/?.lua"..";"..package.path else print("-- Warning: lsunit.lua running with no bundlePath. This is not an error if your package.path contains a testinit.l...
mit
NPLPackages/main
script/ide/System/Windows/mcml/StyleDefault.lua
1
2280
--[[ Title: default mcml style sheet Author(s): LiXizhi Date: 2015/5/4 Desc: use the lib: ------------------------------------------------------------ NPL.load("(gl)script/ide/System/Windows/mcml/StyleDefault.lua"); local StyleDefault = commonlib.gettable("System.Windows.mcml.StyleDefault"); --------------------------...
gpl-2.0
thedraked/darkstar
scripts/globals/items/soft-boiled_egg.lua
18
1174
----------------------------------------- -- ID: 4532 -- Item: soft-boiled_egg -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Magic 20 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
fhedberg/ardupilot
libraries/AP_Scripting/examples/ahrs-source-gps-wheelencoders.lua
4
7757
-- This script helps vehicles move between GPS and Non-GPS environments using GPS and Wheel Encoders -- -- setup RCx_OPTION = 90 (EKF Pos Source) to select the source (low=primary, middle=secondary, high=tertiary) -- setup RCx_OPTION = 300 (Scripting1). When this switch is pulled high, the source will be automatically...
gpl-3.0
X-Coder/wire
lua/wire/client/hlzasm/hc_compiler.lua
6
26826
-------------------------------------------------------------------------------- -- HCOMP / HL-ZASM compiler -- -- This is a high-level assembly language compiler, based on ZASM2 and C syntax. -- -- I tried to make the compiler as understandable as possible, but you will need -- to read the source files in this order t...
gpl-3.0
lyzardiar/RETools
PublicTools/bin/tools/bin/ios/x86_64/jit/dis_arm.lua
78
19363
---------------------------------------------------------------------------- -- LuaJIT ARM disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
mit