Skip to content

RushDuel.AddCodeList ​

Alias: RD.AddCodeList. Requires the matching Rush Duel Lua bootstrap.

Signature ​

lua
RushDuel.AddCodeList(Card card, ... int|table) -> void

Description ​

Accepts passcodes or flat tables of passcodes, registering each through Auxiliary.AddCodeList. This is mention metadata for other scripts; it does not create a Summon procedure or change the card's name.

Parameters ​

  • card Card: Card whose script mentions these passcodes.
  • ... int|table: Passcodes or flat tables of passcodes.

Returns ​

No return values.

Source ​

Rush/Utilities/RDBase.lua:244

lua
function RushDuel.AddCodeList(card, ...)
    for _, list in ipairs {...} do
        local type = Auxiliary.GetValueType(list)
        if type == "number" then
            Auxiliary.AddCodeList(card, list)
        elseif type == "table" then
            Auxiliary.AddCodeList(card, table.unpack(list))
        end
    end
end

Used By ​

Generated from the local Rush/Scripts/ folder and rush_cards.cdb.

  • Detected in 1134 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.AddCodeList.
CardIDScriptDetected Calls
Lufer the Symbol of the Devils120309059Rush/Scripts/c120309059.lua1
The Eye of Timaeus120285065Rush/Scripts/c120285065.lua1
Valkyrian Guard120231066Rush/Scripts/c120231066.lua1
Volcalizing Salamandeus120272039Rush/Scripts/c120272039.lua1
Voidalfr Star Mayfly120300034Rush/Scripts/c120300034.lua1
Brassdes of the Wicked Wheels120304033Rush/Scripts/c120304033.lua1
Light of Bewitchment120301074Rush/Scripts/c120301074.lua1
Dark-Guiding Kuriboh120280009Rush/Scripts/c120280009.lua1
Dolphin Counterattack120199058Rush/Scripts/c120199058.lua1
Pot of Duality120271002Rush/Scripts/c120271002.lua1
Vapor Lancer the Super Graphagas120260063Rush/Scripts/c120260063.lua1
Ember the Ultra Assistant120283035Rush/Scripts/c120283035.lua1
Wako Gozen Riletta120309021Rush/Scripts/c120309021.lua1
Sparkhearts Makma120298023Rush/Scripts/c120298023.lua1
Major Breaking News!120304060Rush/Scripts/c120304060.lua1
Wish of the Skysavior120253064Rush/Scripts/c120253064.lua1
Fairy of the Stars120305016Rush/Scripts/c120305016.lua1
Rising Protect120304055Rush/Scripts/c120304055.lua1
The Black Witch Facing the Temple120309048Rush/Scripts/c120309048.lua1
Curse of the Magiclad Dragon120304061Rush/Scripts/c120304061.lua1
Insect Taurus120300060Rush/Scripts/c120300060.lua1
Jinzo the Machine Menace120257028Rush/Scripts/c120257028.lua1
Galactica Lost Oblivion120277042Rush/Scripts/c120277042.lua1
Magician's Sense120246088Rush/Scripts/c120246088.lua1
...and 1110 more

Script Examples ​

Lufer the Symbol of the Devils (120309059) ​

Source: Rush/Scripts/c120309059.lua

lua
cm.name="恶魔之印 卢法"
function cm.initial_effect(c)
	RD.AddCodeList(c,list)
	--Activate
	local e1=Effect.CreateEffect(c)

The Eye of Timaeus (120285065) ​

Source: Rush/Scripts/c120285065.lua

lua
cm.name="蒂迈欧之眼"
function cm.initial_effect(c)
	RD.AddCodeList(c,list)
	--Activate
	local e1=Effect.CreateEffect(c)

Valkyrian Guard (120231066) ​

Source: Rush/Scripts/c120231066.lua

lua
cm.name="女武神防御"
function cm.initial_effect(c)
	RD.AddCodeList(c,list)
	--Activate
	local e1=Effect.CreateEffect(c)