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 |
|---|---|---|---|---|---|
RwNigma/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/qm6.lua | 31 | 1733 | ----------------------------------
-- Area: Fort Karugo Narugo [S]
-- NPC: ???
-- Type: Quest
-- @zone: 96
-- @pos -63 -75 4
--
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
require("scripts/global... | gpl-3.0 |
destdev/ygopro-scripts | c29216967.lua | 7 | 1028 | --ギミック・パペット-シザー・アーム
function c29216967.initial_effect(c)
--send to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29216967,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:S... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/weaponskills/flat_blade.lua | 10 | 1731 | -----------------------------------
-- Flat Blade
-- Sword weapon skill
-- Skill Level: 75
-- Stuns enemy. Chance of stunning varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP 300%TP
-- 1.0... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Valley_of_Sorrows/npcs/qm2.lua | 29 | 1448 | -----------------------------------
-- Area: Valley of Sorrows
-- NPC: qm2 (???)
-- Note: Used to rank 9.1 San d'oria
-- @pos 91 -3 -16 128
-----------------------------------
package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valley_of_Sorrows/T... | gpl-3.0 |
destdev/ygopro-scripts | c83880087.lua | 1 | 2656 | --ムーンバリア
function c83880087.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_DISABLED)
e1:SetTarget(c83880087.target)
c:RegisterEffect(e1)
--remove overlay replace
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(83880087,2))
e... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/plate_of_anchovies.lua | 17 | 1190 | -----------------------------------------
-- ID: 5652
-- Item: plate_of_anchovies
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
destdev/ygopro-scripts | c58324930.lua | 1 | 1266 | --破戒僧 ランシン
function c58324930.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58324930,0))
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c58324930.c... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm2.lua | 30 | 1377 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Cheese Hoarder Gigiroon(ZNM T1))
-- @pos -184 -8 24 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_U... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Mine_Shaft_2716/bcnms/century_of_hardship.lua | 30 | 1774 | -----------------------------------
-- Area: Mine_Shaft_2716
-- Name: century_of_hardship
-- bcnmID : 736
-- inst 2 -54 -1 -100
-- inst 3 425 -121 -99
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Metalworks/npcs/Tomasa.lua | 34 | 1476 | -----------------------------------
-- Area: Metalworks
-- NPC: Tomasa
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Metalworks/TextIDs");
--... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Northern_San_dOria/npcs/Calovour.lua | 13 | 1411 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Calovour
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requi... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/tail_thrust.lua | 11 | 1067 | ---------------------------------------------
-- Tail Thrust
-- Family: Hpemde
-- Description: Strikes a single target with its tail.
-- Type: Physical
-- Utsusemi/Blink absorb: One shadow
-- Range: Unknown
-- Notes: Additional effect - paralyze
---------------------------------------------
require("scripts/glob... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/opo-opo_tart.lua | 11 | 1050 | -----------------------------------------
-- ID: 4287
-- Item: opo-opo_tart
-- Food Effect: 1hour, All Races
-----------------------------------------
-- HP 12
-- MP 12
-- Intelligence 4
-- MP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/... | gpl-3.0 |
destdev/ygopro-scripts | c86377375.lua | 2 | 3149 | --悪王アフリマ
function c86377375.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(86377375,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c86377375.thcost)
e1:SetTarget(c86377375.thtg)
e1:SetOperatio... | gpl-2.0 |
destdev/ygopro-scripts | c77864539.lua | 6 | 1432 | --機皇廠
function c77864539.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetCondition(c77864539.condition)
e1:SetTarget(c77864539.target)
... | gpl-2.0 |
destdev/ygopro-scripts | c77135531.lua | 2 | 2459 | --竜の尖兵
function c77135531.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(77135531,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c77135531.cost)
e1:SetOperation(c77135531.atkop)
c:RegisterEffect(e1)
--sps... | gpl-2.0 |
destdev/ygopro-scripts | c78636495.lua | 4 | 1483 | --ニュート
function c78636495.initial_effect(c)
--flip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78636495,0))
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP)
e1:SetOperation(c78636495.operation)
c:RegisterEffect(e1)
--destroyed
local e2=Eff... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/circle_of_flames.lua | 11 | 1076 | ---------------------------------------------
-- Circle of Flames
--
-- Description: Deals damage to targets in an area of effect. Additional effect: Weight
-- Type: Physical
-- Utsusemi/Blink absorb: 1-3 shadows
-- Range: 10' radial
-- Notes:
---------------------------------------------
require("scripts/globals... | gpl-3.0 |
destdev/ygopro-scripts | c83831356.lua | 2 | 1901 | --カラクリ大暴走
function c83831356.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetHintTiming(TIMING_DAMAGE_STEP,TIMING_DAMAGE_STEP+TIMINGS_CHECK_MONSTER)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STE... | gpl-2.0 |
destdev/ygopro-scripts | c2819435.lua | 1 | 4073 | --幻煌の都 パシフィス
function c2819435.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--to hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(2819435,0))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/weaponskills/judgment.lua | 30 | 1394 | -----------------------------------
-- Judgment
-- Club weapon skill
-- Were you looking for Judgment Key?
-- Skill level: 200
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modi... | gpl-3.0 |
destdev/ygopro-scripts | c14920218.lua | 1 | 2624 | --賤竜の魔術師
function c14920218.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--to hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(14920218,0))
e2:SetCategory(CATEGORY_TOHAND)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_PZONE)
e2:SetCountLimit(1,14920218)
e2:SetC... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/acrid_stream.lua | 11 | 1090 | ---------------------------------------------
-- Acrid Stream
--
-- Description: Deals water damage to enemies within a fan-shaped area originating from the caster. Additional effect: Lowers target's Magic Defense.
-- Type: Magical (Water)
--
--
---------------------------------------------
require("scripts/globals/... | gpl-3.0 |
destdev/ygopro-scripts | c83274244.lua | 1 | 1620 | --ドドドウォリアー
function c83274244.initial_effect(c)
--summon with no tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(83274244,0))
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetCondition(c83274244.ntcon)
e1... | gpl-2.0 |
Kong/kong | kong/plugins/cors/handler.lua | 1 | 6756 | local lrucache = require "resty.lrucache"
local url = require "socket.url"
local kong_meta = require "kong.meta"
local kong = kong
local re_find = ngx.re.find
local find = string.find
local concat = table.concat
local tostring = tostring
local ipairs = ipairs
local HTTP_OK = 200
local CorsHa... | apache-2.0 |
Deadwing888/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm21.lua | 17 | 1550 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns: Lacovie
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm21.lua | 17 | 1550 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns: Lacovie
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/serving_of_flounder_meuniere.lua | 35 | 1581 | -----------------------------------------
-- ID: 4584
-- Item: serving_of_flounder_meuniere
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 6
-- Mind -1
-- Ranged ACC 15
-- Ranged ATT % 14
-- Ranged ATT Cap 25
-- Enmity -3
-----------------------------------------
... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Jidwahn.lua | 17 | 1239 | -----------------------------------
-- Area: Silver sea route to Mhaura
-- NPC: Jidwahn
-- Guild Merchant NPC: Fishing Guild
-- @pos 4.986 -2.101 -12.026 58
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
tanmaykm/thrift | lib/lua/TProtocol.lua | 98 | 5119 | --
-- 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 |
x1957/thrift | lib/lua/TProtocol.lua | 98 | 5119 | --
-- 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 |
destdev/ygopro-scripts | c23212990.lua | 4 | 1934 | --六武式風雷斬
function c23212990.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCost(c2... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0zy.lua | 9 | 1151 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Cermet Portal
-- !pos -419 0.1 356 35
-----------------------------------
local ID = require("scripts/zones/The_Garden_of_RuHmet/IDs")
require("scripts/globals/missions")
-----------------------------------
function onTrade(player,npc,trade)
e... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Southern_San_dOria/npcs/Atelloune.lua | 11 | 2706 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Atelloune
-- Starts and Finishes Quest: Atelloune's Lament
-- @zone 230
-- @pos 122 0 82
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Phomiuna_Aqueducts/Zone.lua | 28 | 1908 | -----------------------------------
--
-- Zone: Phomiuna_Aqueducts (27)
--
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/zones/Phomiuna_Aq... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/weaponskills/shining_strike.lua | 30 | 1314 | -----------------------------------
-- Shining Strike
-- Club weapon skill
-- Skill level: 5
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:40% ; MND:40%
-- 100%TP 200%TP 300%TP
-- ... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/balik_sis_+1.lua | 18 | 1658 | -----------------------------------------
-- ID: 5601
-- Item: Balik Sis +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Mind -2
-- Attack % 15
-- Attack Cap 45
-- Ranged ACC 1
-- Ranged ATT % 15
-- Ranged ATT Cap 45
-----------------------------------------
require("scr... | gpl-3.0 |
destdev/ygopro-scripts | c32703716.lua | 9 | 1266 | --フィッシュアンドキックス
function c32703716.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c32703716.condition)
e1:SetTarget(c32703716.target)
e1:SetOperatio... | gpl-2.0 |
destdev/ygopro-scripts | c18239909.lua | 2 | 3104 | --爆竜剣士イグニスターP
function c18239909.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSynchroType,TYPE_PENDULUM),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(18239909,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_TODECK)
e1:SetT... | gpl-2.0 |
markhprice/fastnetmon | src/netflow_hooks.lua | 12 | 2044 | package.path = package.path .. ";/usr/share/lua/5.1/?.lua"
local json = require("json")
-- We have this library bundled only in luajit:
-- g++ lua_integration.cpp -lluajit-5.1
-- Before production use, please call your code with luajit CLI
local ffi = require("ffi")
-- Load declaration from the inside separate head... | gpl-2.0 |
destdev/ygopro-scripts | c55416843.lua | 2 | 1871 | --蛮族の狂宴LV5
function c55416843.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(c55416843.target)
e1:SetOperation(c55416843.operation)
c:RegisterEffect(e1)
end
function c55416843.filter(... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/ogre_eel.lua | 18 | 1390 | -----------------------------------------
-- ID: 4481
-- Item: ogre_eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
chi-bd/clink | docs/premake4.lua | 2 | 2118 | --
-- 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 |
destdev/ygopro-scripts | c6459419.lua | 4 | 1522 | --アマゾネス転生術
function c6459419.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c6459419.target)
e1:SetOperation(c6459419.activate)
c:RegisterEffect(e1)
end
function c645... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Mhaura/npcs/Wilhelm.lua | 27 | 2363 | -----------------------------------
-- Area: Mhaura
-- NPC: Wilhelm
-- Type: Standard NPC
-- @pos -22.746 -5 17.157 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/armor_upgrade");
---------------------------... | gpl-3.0 |
rryan/vlc | share/lua/intf/test.lua | 91 | 1909 | function assert_url(result, protocol, username, password, host, port, path)
assert(result.protocol == protocol)
assert(result.username == username)
assert(result.password == password)
assert(result.host == host)
assert(result.port == port)
assert(result.path == path)
end
vlc.msg.inf... | gpl-2.0 |
angt/overthebox | feeds/luci/modules/luci-mod-network/luasrc/controller/admin/network.lua | 1 | 1390 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2011-2018 Jo-Philipp Wich <jo@mein.io>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.admin.network", package.seeall)
function index()
local page
-- if page.inreq then
page = entry({"admin", "network", "switch"}, vie... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/RuLude_Gardens/npcs/Perisa-Neburusa.lua | 38 | 1048 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Perisa-Neburusa
-- Type: Residence Renter
-- @zone: 243
-- @pos 54.651 8.999 -74.372
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/rockhead.lua | 6 | 2729 | -- 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 |
w86021702/svr_demo | common/proto/game_proto.lua | 7 | 2277 | local sparser = require "sprotoparser"
local game_proto = {}
local types = [[
.package {
type 0 : integer
session 1 : integer
}
.general {
name 0 : string
race 1 : string
class 2 : string
map 3 : string
}
.position {
x 0 : integer
y 1 : integer
z 2 : integer
o 3 : integer
}
.movement {
pos 0 : position... | mit |
ffxijuggalo/darkstar | scripts/zones/La_Theine_Plateau/npcs/Shattered_Telepoint.lua | 9 | 1890 | -----------------------------------
-- Area: La_Theine Plateau
-- NPC: Shattered Telepoint
-- !pos 334 19 -60 102
-----------------------------------
require("scripts/globals/missions");
local ID = require("scripts/zones/La_Theine_Plateau/IDs");
-----------------------------------
function onTrade(player,npc,trade)
e... | gpl-3.0 |
destdev/ygopro-scripts | c39091951.lua | 4 | 1480 | --パンダボーグ
function c39091951.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39091951,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c39091951.condition)
e1:SetCo... | gpl-2.0 |
AaMegaTeam/newTg | bot/libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
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, distribute,... | gpl-2.0 |
destdev/ygopro-scripts | c54250060.lua | 4 | 3361 | --召魔装着
function c54250060.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZONE)
e2:SetT... | gpl-2.0 |
nikai3d/naev | dat/missions/sirius/heretic/heretic3.lua | 2 | 10583 | --[[misn title - the assault]]
--[[in this mission, the wringer is assaulted by a full assault fleet
sent in by the threatened sirius. the player attempts to defend,
when is instead ordered back to the wringer to escape sirius controlled
space. thanks to nloewen and viashimo for help!]]
include "dat/scrip... | gpl-3.0 |
destdev/ygopro-scripts | c69408987.lua | 4 | 1143 | --スパイダー・ウェブ
function c69408987.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--to defense
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_DAMAGE_STEP_END)
e2:... | gpl-2.0 |
w86021702/svr_demo | client/lualib/mysql.lua | 23 | 15737 | -- Copyright (C) 2012 Yichun Zhang (agentzh)
-- Copyright (C) 2014 Chang Feng
-- This file is modified version from https://github.com/openresty/lua-resty-mysql
-- The license is under the BSD license.
-- Modified by Cloud Wu (remove bit32 for lua 5.3)
local socketchannel = require "socketchannel"
local mysqlaux = req... | mit |
simonfork/aquaria | game_scripts/scripts/maps/_unused/node_altarswitch.lua | 6 | 1432 | -- 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/spells/foe_requiem_v.lua | 26 | 1630 | -----------------------------------------
-- Spell: Foe Requiem V
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Megaflare.lua | 37 | 1832 | ---------------------------------------------
-- Megaflare
-- Family: Bahamut
-- Description: Deals heavy Fire damage to enemies within a fan-shaped area.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range:
-- Notes: Used by Bahamut every 10% of its HP (except at 10%), but can use at will when u... | gpl-3.0 |
destdev/ygopro-scripts | c82556058.lua | 2 | 2433 | --デモニック・モーター・Ω
function c82556058.initial_effect(c)
--token
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82556058,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetC... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Apollyon/mobs/Evil_Armory.lua | 7 | 1291 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Evil_Armory
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
----------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c1347977.lua | 7 | 1806 | --聖なる守り手
function c1347977.initial_effect(c)
--todeck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1347977,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c1347977.target)
e1:SetOperation(c1347977.activate... | gpl-2.0 |
sorblack-x/anti_super | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/spells/bluemagic/body_slam.lua | 4 | 1519 | -----------------------------------------
-- Spell: Body Slam
-- Delivers an area attack. Damage varies with TP
-- Spell cost: 74 MP
-- Monster Type: Dragon
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: VIT+1, MP+5
-- Level: 62
-- Casting Time: 1 seconds
-- Recast Time: 27.75 seconds
-- Skillch... | gpl-3.0 |
nicholas-leonard/drmad | lr_drmad_mnist.lua | 1 | 11559 | --[[
Multiple meta-iterations for DrMAD on MNIST
tuning learning rates and L2 norms together
MIT license
]]
-- Import libs
require 'torch'
local grad = require 'autograd'
local util = require 'autograd.util'
local lossFuns = require 'autograd.loss'
local optim = require 'optim'
local dl = require 'dataload'
local xlu... | mit |
Deadwing888/darkstar | scripts/zones/Al_Zahbi/npcs/Truffle.lua | 13 | 1035 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Truffle
-- Type: Standard NPC
-- @zone: 48
-- @pos 18.306 -1 53.761
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Southern_San_dOria/TextIDs.lua | 8 | 6827 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6423; -- Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6427; -- Try trading again after sorting your inventory.
ITEM_OBTAINED = 6428; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/mobskills/Typhoon_Wing.lua | 36 | 1331 | ---------------------------------------------
-- Hurricane Wing
--
-- Description: Deals hurricane-force wind damage to enemies within a very wide area of effect. Additional effect: Blind
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Dragua, Fafnir, N... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fg.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 100 -34 -71 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Upper_Jeuno/npcs/Rouliette.lua | 26 | 2190 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Rouliette
-- Starts and Finishes Quest: Candle-making
-- @zone 244
-- @pos -24 -2 11
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
destdev/ygopro-scripts | c73887236.lua | 4 | 1879 | --RR-ライズ・ファルコン
function c73887236.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WINDBEAST),4,3)
c:EnableReviveLimit()
--attack all
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ATTACK_ALL)
e1:SetValue(c73887236.atkfilter)
c:Regis... | gpl-2.0 |
destdev/ygopro-scripts | c82293134.lua | 2 | 1796 | --紋章獣レオ
function c82293134.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82293134,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCondition(c8229313... | gpl-2.0 |
Laeeth/dbokeh_torch | torch/gfx.lua | 4 | 6673 | local ffi = require 'ffi'
local uuid = require 'uuid'
local base64 = require 'base64'
require 'pl.text'.format_operator()
require 'image'
local itorch = require 'itorch._env'
require 'itorch.bokeh'
local util = require 'itorch.util'
-- Example: require 'image';itorch.image(image.scale(image.lena(),16,16))
function ito... | bsd-3-clause |
fidlej/torch7 | init.lua | 1 | 2028 |
-- We are using paths.require to appease mkl
require "paths"
paths.require "libtorch"
--- package stuff
function torch.packageLuaPath(name)
if not name then
local ret = string.match(torch.packageLuaPath('torch'), '(.*)/')
if not ret then --windows?
ret = string.match(torch.packageLuaPath('t... | bsd-3-clause |
Deadwing888/darkstar | scripts/zones/Windurst_Woods/npcs/Orlaine.lua | 27 | 1975 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Orlaine
-- Chocobo Vendor
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onTr... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Port_Bastok/npcs/Carmelo.lua | 12 | 4834 | -----------------------------------
-- Area: Port Bastok
-- NPC: Carmelo
-- Start & Finishes Quest: Love and Ice, A Test of True Love
-- Start Quest: Lovers in the Dusk
-- Involved in Quest: The Siren's Tear
-- @zone: 236
-- @pos -146.476 -7.48 -10.889
-----------------------------------
require("scripts/globals/quest... | gpl-3.0 |
SIGNALTEAM/SignalTG | plugins/Whitelist.lua | 19 | 2480 | do
local function get_message_callback (extra , success, result)
if result.service then
local action = result.action.type
if action == 'chat_add_user' or action == 'chat_del_user' or action == 'chat_rename' or action == 'chat_change_photo' then
if result.action.user then
user_id = result.action.use... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Windurst_Waters/npcs/Angelica.lua | 36 | 5295 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Angelica
-- Starts and Finished Quest: A Pose By Any Other Name
-- Working 100%
-- @zone = 238
-- @pos = -70 -10 -6
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Windurst_Walls/npcs/Festive_Moogle.lua | 6 | 1835 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Festive Moogle
-- Type: Event NPC
-- !pos -206.927 -0.521 -144.713 239
-----------------------------------
require("scripts/globals/npc_util")
-----------------------------------
function onTrade(player,npc,trade)
--TODO: trade of pells for priz... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/serving_of_batagreen_sautee.lua | 35 | 1419 | -----------------------------------------
-- ID: 4553
-- Item: serving_of_batagreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -2
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
destdev/ygopro-scripts | c68811206.lua | 9 | 1324 | --Tyler the Great Warrior
function c68811206.initial_effect(c)
--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)
--damage
local e2=Effect.CreateEffect(c)... | gpl-2.0 |
destdev/ygopro-scripts | c50005218.lua | 1 | 3096 | --閃刀空域-エリアゼロ
function c50005218.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--excavate
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(50005218,0))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+C... | gpl-2.0 |
LGCaerwyn/QSanguosha-Para-tangjs520-LGCaerwyn | lang/zh_CN/Package/YJCM2013Package.lua | 2 | 8169 | -- translation for YJCM2013 Package
return {
["YJCM2013"] = "一将成名2013",
["#caochong"] = "仁爱的神童",
["caochong"] = "曹冲",
["illustrator:caochong"] = "Amo",
["chengxiang"] = "称象",
[":chengxiang"] = "每当你受到伤害后,你可以亮出牌堆顶的四张牌,然后获得其中至少一张点数之和小于或等于13的牌,并将其余的牌置入弃牌堆。",
["renxin"] = "仁心",
[":renxin"] = "每当一名体力值为1的其他角色受到伤害时,你... | lgpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/absorb-vit.lua | 18 | 1299 | --------------------------------------
-- Spell: Absorb-VIT
-- Steals an enemy's vitality.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/bluemagic/mind_blast.lua | 18 | 2035 | -----------------------------------------
-- Spell: Mind Blast
-- Deals lightning damage to an enemy. Additional effect: Paralysis
-- Spell cost: 82 MP
-- Monster Type: Demons
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: MP+5 MND+1
-- Level: 73
-- Casting Time: 3 seconds
-- Recast... | gpl-3.0 |
destdev/ygopro-scripts | c40390147.lua | 6 | 1930 | --輝光帝ギャラクシオン
function c40390147.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x55),4,2)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40390147,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITI... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Oldton_Movalpolos/IDs.lua | 9 | 1782 | -----------------------------------
-- Area: Oldton_Movalpolos
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.OLDTON_MOVALPOLOS] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Com... | gpl-3.0 |
TonyPhipps/Warcraft | DaftUI/daftUITweaks/OptionsPanel.lua | 1 | 32734 | local addonName, addonTable = ...
local Options = CreateFrame("Frame", "daftUITweaksOptions", InterfaceOptionsPanelContainer)
Options.name = GetAddOnMetadata(addonName, "Title") or addonName
InterfaceOptions_AddCategory(Options)
Options:Hide()
Options:RegisterEvent("PLAYER_LOGOUT")
-- FUNCTIONS
function CreateChec... | gpl-3.0 |
destdev/ygopro-scripts | c49919798.lua | 4 | 3917 | --音響戦士サイザス
function c49919798.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49919798,0))
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetTarget(c49919798.thtg)... | gpl-2.0 |
WorldBank-Transport/Rural-Road-Accessibility | test/utils/data-sergipe/profile.lua | 2 | 15655 | -- Car profile
local find_access_tag = require("lib/access").find_access_tag
-- Begin of globals
barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true ... | mit |
ffxijuggalo/darkstar | scripts/zones/Selbina/npcs/Romeo.lua | 11 | 1721 | -----------------------------------
-- Area: Selbina
-- NPC: Romeo
-- Starts and Finishes Quest: Donate to Recycling
-- !pos -11 -11 -6 248
-----------------------------------
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require("scripts/globals/titles")
-----------------------------------
fu... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/West_Ronfaure/npcs/Harvetour.lua | 13 | 1897 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Harvetour
-- Type: Outpost Vendor
-- @pos -448 -19 -214 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Port_San_dOria/npcs/Meuxtajean.lua | 13 | 1358 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Meuxtajean
-- 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 |
destdev/ygopro-scripts | c10000080.lua | 1 | 5286 | --ラーの翼神竜-球体形
function c10000080.initial_effect(c)
--summon with 3 tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10000080,0))
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LIMIT_SUMMON_PROC)
e1:SetCondition(c10000080.ttc... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_HM.lua | 26 | 1444 | -----------------------------------
-- Area: LaLoff Amphitheater
-- NPC: Ark Angel HM
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
function onMobInitialize(mob)
mob:addMod(MOD_REGAIN, 50);
end;
--------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Heavens_Tower/npcs/Kupipi.lua | 8 | 7675 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Kupipi
-- Involved in Mission 2-3
-- Involved in Quest: Riding on the Clouds
-- !pos 2 0.1 30 242
-----------------------------------
local ID = require("scripts/zones/Heavens_Tower/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/mi... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Temenos/bcnms/central_temenos_basement.lua | 9 | 1407 | -----------------------------------
-- Area: Temenos
-- Name: Central Temenos Basement
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/battlefield")
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBattlefieldTick(bat... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Qulun_Dome/IDs.lua | 12 | 2036 | -----------------------------------
-- Area: Qulun_Dome
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.QULUN_DOME] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. C... | gpl-3.0 |
w86021702/svr_demo | 3rd/skynet/lualib/skynet/inject.lua | 19 | 1409 | local function getupvaluetable(u, func, unique)
local i = 1
while true do
local name, value = debug.getupvalue(func, i)
if name == nil then
return
end
local t = type(value)
if t == "table" then
u[name] = value
elseif t == "function" then
if not unique[value] then
unique[value] = true
getu... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.