notes: alt path knife pieces, Full Knife ai_charger, Dad's Note
This commit is contained in:
1 parent
8f636687b0
commit
a35d75bc73
1 file changed
+21
@@ -93,3 +93,24 @@ without one; variant 10 (the entrance's) holds state 16 at its target point unti
|
||||
room it leaves (state 3) with its rider. Room init (0x823f50): an actor beside a cart-start rail gets a cart there
|
||||
(Entity::GiveMinecart 0x6b7be0), players only in multiplayer; a 965.10 beside any rail is set on it (speed 0.2).
|
||||
RoomTransition::Update carries a riding player's cart (Entity_Player::AttachMinecart 0x7d9180).
|
||||
|
||||
## knife pieces, Full Knife (Entity_Player::EvaluateItems 0x763570, Entity_Familiar::ai_charger 0x6174c0)
|
||||
|
||||
EvaluateItems counts each player's Knife Piece 1 (0x272) and 2 (0x273) like Key Piece 1/2 (0xee/0xef -> 3.26/27/28):
|
||||
pairs (FUN_007dd3a0, the min of the two, matched across players) move from both pieces' counts to the full one, then
|
||||
CheckFamiliar 3.213 (piece 1) and 3.214 (piece 2) with the leftovers and 3.223 (Full Knife, no item config) with the
|
||||
pairs. entities2.xml: pieces 3.5 contact damage, Full Knife 25 (collisionInterval 10), radius 13, shadow 10.
|
||||
|
||||
ai_charger is the shared flung familiar (3.3 Little Chubby, 0x19, 0x3b Big Chubby, 0x68 Jaw Bone, 0x82, 0xdf, 0xe8):
|
||||
on fire with state 0x353 < 1 it takes speed 10 (3 for Jaw Bone, 17 for the Full Knife), velocity aim * speed plus the
|
||||
player's velocity * 0.6 doubled, at least speed, state -1, FloatShootSide/Up/Down (3, 0x68 and 0xdf only). The Full
|
||||
Knife in -1 keeps at least 17 until a grid collision; then each of its grid collision points' cells is checked for a
|
||||
door (grid type 0x10) of variant 3 whose get_secret_exit_kind is 4 (Mom's Heart): TryBlowOpen(0, knife) -> state -3,
|
||||
moved on by its velocity, and Knife Piece 1 and 2 removed (RemoveCollectible) from its player or their first owner.
|
||||
Otherwise it plays HitSide/HitUp/HitDown (38 frames), sound 0xcd (205, goo attach), state -2: velocity toward the
|
||||
hit point until the animation ends, then state 30 (the cooldown, counting while it follows). In -3 its alpha falls
|
||||
0.1 a frame; at 0 it is removed and every player of variant 0 gets flag 0x200 at +0x1574 (+0x1518 = 1).
|
||||
|
||||
Dad's Note (668): Entity_Pickup::HandleCollision (0x6e8ae0) saves the rewind state and fades the music on touching it;
|
||||
CanRerollVariant keeps it; no literal Spawn(5, 100, .., 0x29c) site was found (Room::SpawnClearAward 0x7fb250's boss
|
||||
rewards neither), so where Mom in Mausoleum II drops it is not settled here.
|
||||
Reference in new issue
Block a user