The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

74 个评价
Curse API
   
奖励
收藏
已收藏
取消收藏
Tags: Lua, Hazards, Tweaks
文件大小
发表于
更新日期
50.641 KB
2023 年 8 月 29 日 上午 10:05
2023 年 11 月 7 日 下午 3:22
11 项改动说明 ( 查看 )

订阅以下载
Curse API

描述
Disclaimer: This mod originally added Curse of the Giant to the pool. However, it was also causing crashes originating from the fact that Curse of the Giant was left unfinished by the developers, and there doesn't seem to be a way to get rid of the errant crashes. As such, I've removed it until a solution is found.

However, its secondary function still works perfectly well. You can use this mod as a baseline to add custom curses to the game! TO do so, use the following procedure:

1. In the mod folder, add the curse through content/curses.xml.
2. In the mod's main.lua file, add the curse to the CurseList as such:
CurseAPI:AddCurse(animation, curse_id, frame)
3. Create a new animation that stores a 16x16 image of the curse that you want displayed, and use it in CurseAPI:AddCurse().
4. Add behavior to the curse as you see fit (pro tip: use the bitwise "AND" operator to check if a specific curse is currently active)

If you like what you see, maybe buy me a coffee: https://ko-fi.com/poondaedalin
(You don't have to, but if you're feeling generous, I'd appreciate it!)
32 条留言
nyanbinary 1 月 14 日 下午 6:31 
Can this support Repentogon?
Poondaedalin  [作者] 2023 年 11 月 22 日 上午 8:29 
:|
Firch 2023 年 11 月 22 日 上午 7:58 
Still getting curse of the giant...
BlueResonant 2023 年 11 月 15 日 下午 2:13 
i also still got curse of the giant popping up instead of other curses. i have that one mod that uses this api to add more curses as well.
Poondaedalin  [作者] 2023 年 11 月 7 日 下午 7:14 
Just pushed a fix that should stop that from happening in the future. If it appears again, let me know!
Kattack 2023 年 11 月 7 日 下午 3:17 
I'm still getting curse of the giant appearing despite it saying that it was removed
I_y_D 2023 年 10 月 14 日 上午 5:16 
Is there a way to remove Curse of the Giant from the mod, so it can be used as API only?
Poondaedalin  [作者] 2023 年 9 月 12 日 上午 9:02 
I just ran through all of these Curse mods and ironed out some bugs, including a change to address your current one. I think it should be fixed now, but if it persists, let me know!
rainy 2023 年 9 月 11 日 下午 9:27 
My console reports an error constantly:
[INFO] - Lua Debug: [Curse of the Giant!:2]ERROR:...ding of Isaac Rebirth/mods/curse api_3027734642/main.lua:133: attempt to index a number value (local 'c')
Poondaedalin  [作者] 2023 年 9 月 6 日 上午 7:17 
@Stag Beetle Enthusiast On one hand, I do like the idea of a chaser that punishes slow gameplay, but I feel like Isaac is much more slow-paced and deliberate than Spelunky, so the concept wouldn't fit quite as well. Plus, Dark Esau comes pretty close to what I'd imagine as an implementation of that idea. That being said, now I want to see a mod that replaces Dark Esau with the ghost from Spelunky.

@eggviper3 Behold my masterpiece: https://steamcommunity.com/sharedfiles/filedetails/?id=3031744971