!!MC_POST_ITEM_PICKUP callback 预览图

以撒的结合:重生 (The Binding of Isaac: Rebirth)

!!MC_POST_ITEM_PICKUP callback

TweaksLua

最后更新 2021/08/18文件 7.2 KBID 2577953432

模组简介

This mod creates a new custom callback that triggers when you get a new item from a pedestal. How to use: When adding a callback, choose the callback ModCallbacks.MC_POST_ITEM_PICKUP It accepts an optional argument CollectibleType, which is the ID of the item you want this to run on If not specified, the function will run whenever any item is collected Functions called by this will run with the following arguments: EntityPlayer - The player that picked up the item CollectibleType - the ID of the item collected This function is only triggered when an item is obtained by collecting it from a pedestal and/or shop/devil deal. Using debug commands doesn't trigger it, although that might be included in later This mod's code can also be copied and pasted as-is on any mod you're developing, and it has checks to prevent conflicts in those cases. NOTE: This mod modifies the ItemQueue system in order to run, so compatibility with other mods that use that is not guaranteed yet.

详情图片

条目信息

所属游戏
以撒的结合:重生 (The Binding of Isaac: Rebirth)
创意工坊 ID
2577953432
文件名
2577953432.bin
文件大小
7.2 KB
最后更新
2021/08/18
内容版本
v1629253510-b4a7eeb248f22116
作者与来源
由原作者发布于 Steam 创意工坊。本站不改变署名,作者信息与原始内容请以 Steam 原始页面 为准。