The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

คะแนนไม่เพียงพอ
!Cabin API!
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
Tags: Lua, Pickups, Rooms
ขนาดไฟล์
โพสต์
อัปเดต
65.300 KB
7 พ.ค. 2018 @ 9: 42am
7 พ.ค. 2018 @ 5: 56pm
2 หมายเหตุการเปลี่ยนแปลง ( ดู )
อยู่ใน 1 ชุดสะสม โดย warmCabin
Fireplace Love
3 รายการ
คำอธิบาย
It's CAPI! Implements some custom callbacks and debug stuff you may find useful.

More specifically:
  • 2 Callbacks:
    • Post Room Loot
    • Post Fire Death
  • an on-screen log
  • 3 commands:
    • clr (clears the on-screen log)
    • champ, champ+, champ- (for turning enemies into champions
    • god (toggles godmode)
  • Quick and dirty damage and tears up formula.

More details about everything can be found in the readme, but here's a quick rundown of the callbacks:

CAPI.POST_FIRE_DEATH

Called the frame after a fireplace is extinguished, with a reference to the pickup it dropped. Fireplaces don't die and take damage quite like normal entities; this callback saves you the headache of dealing with that.

CAPI.POST_ROOM_LOOT
Called after each room is cleared (except boss rooms), with a reference to the pickup spawned. Consider it a "post" counterpart to MC_PRE_SPAWN_CLEAN_AWARD. Sometimes, you just need to know what's already there for your item to work!

Yes, I named this API after myself. Yes, I'm aware that's really lame. But ♥♥♥♥ you, CAPI is a fun acronym. You can pretend the C stands for Callback if you want :y
5 ความเห็น
HeliosDrive 20 เม.ย. 2023 @ 8: 19pm 
Update on Repentance compatibility?
warmCabin  [ผู้สร้าง] 23 ส.ค. 2021 @ 11: 57pm 
I'm out of the loop with Repentence. Haven't even bought it yet. Does the game say this mod is incompatible or something?

Once I get going with the DLC, I'm sure I can get this working again.
jnadler 28 ก.ค. 2021 @ 10: 05am 
repentance?
warmCabin  [ผู้สร้าง] 10 พ.ค. 2018 @ 12: 51am 
You fucking piece of SHIT. Did you put a colon just to see what would happen??? :steamhappy:
U.P.S 8 พ.ค. 2018 @ 4: 01pm 
"You fucking IDIOT. It's CAPI DOT AddCallback. NOT colon. God DAMN it!!" I love this