Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
187 changes: 186 additions & 1 deletion src/docs/enums/callbacks/repentogon.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,157 @@
{
"MC_USE_PILL": {
"args": [
{
"type": "PillEffect",
"name": "Effect"
},
{
"type": "EntityPlayer",
"name": "Player"
},
{
"type": "UseFlags",
"name": "Flags"
},
{
"type": "PillColor",
"name": "Color"
}
]
},
"MC_POST_PICKUP_SELECTION": {
"args": [
{
"type": "EntityPickup",
"name": "Pickup"
},
{
"type": "PickupVariant",
"name": "Variant"
},
{
"type": "integer",
"name": "Subtype"
},
{
"type": "PickupVariant",
"name": "Variant"
},
{
"type": "integer",
"name": "RequestedSubType"
},
{
"type": "RNG",
"name": "RNG"
}
],
"returns": [
{
"type": "{ [1]: integer?, [2]: integer?, [3]: boolean? }"
}
]
},
"MC_PRE_PLAYER_COLLISION": {
"returns": [
{
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}",
"optional": true
}
]
},
"MC_PRE_TEAR_COLLISION": {
"returns": [
{
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}",
"optional": true
}
]
},
"MC_PRE_FAMILIAR_COLLISION": {
"returns": [
{
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}",
"optional": true
}
]
},
"MC_PRE_BOMB_COLLISION": {
"returns": [
{
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}",
"optional": true
}
]
},
"MC_PRE_PICKUP_COLLISION": {
"returns": [
{
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}",
"optional": true
}
]
},
"MC_PRE_KNIFE_COLLISION": {
"returns": [
{
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}",
"optional": true
}
]
},
"MC_PRE_PROJECTILE_COLLISION": {
"returns": [
{
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}",
"optional": true
}
]
},
"MC_PRE_NPC_COLLISION": {
"returns": [
{
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}",
"optional": true
}
]
},
"MC_ENTITY_TAKE_DMG": {
"returns": [
{
"type": "boolean|{Damage: number?,DamageFlags: number|DamageFlag?, DamageCountdown: number?}",
"optional": true
}
]
},
"MC_GET_PILL_EFFECT": {
"args": [
{
"type": "PillEffect",
"name": "SelectedPillEffect"
},
{
"type": "PillColor",
"name": "PillColorID"
},
{
"type": "EntityPlayer",
"name": "Player"
}
]
},
"MC_POST_ENTITY_KILL": {
"args": [
{
"type": "Entity",
"name": "Entity"
},
{
"type": "EntityRef",
"name": "KillSource"
}
]
},
"MC_PRE_ADD_COLLECTIBLE": {
"value": "1004",
"args": [
Expand Down Expand Up @@ -2494,7 +2647,7 @@
],
"returns": [
{
"type": "boolean"
"type": "boolean|{Collide:boolean?, SkipCollisionEffects:boolean?}"
}
],
"param": {
Expand Down Expand Up @@ -6086,6 +6239,38 @@
"returns": [],
"comment": "Runs after all entities & grid entities in the room have been rendered, but BEFORE effects like overlays, shockwaves, and the mirror world effect are applied."
},
"MC_PRE_ROOM_GRID_ENTITY_SPAWN": {
"value": "1192",
"args": [
{
"type": "GridEntityType",
"name": "Type"
},
{
"type": "integer",
"name": "Variant"
},
{
"type": "integer",
"name": "GridIdx"
},
{
"type": "HealthType",
"name": "SpawnSeed"
}
],
"returns": [
{
"type": "boolean|table",
"optional": true
}
],
"param": {
"type": "GridEntityType",
"optional": true
},
"comment": "This is called during Room initiization when GridEntities from the layout are being spawned. Accepts false to cancel spawning the grid or a table of `{Type, Variant, Vardata, SpawnSeed}` to modify it."
},
"MC_POST_START_AMBUSH_WAVE": {
"value": "1488",
"args": [
Expand Down