diff --git a/src/dehacked.c b/src/dehacked.c index 5c2953a55..e71b86774 100644 --- a/src/dehacked.c +++ b/src/dehacked.c @@ -6844,6 +6844,7 @@ static const char *const MOBJTYPE_LIST[] = { // array length left dynamic for s "MT_NIGHTSEXTRATIME", "MT_NIGHTSLINKFREEZE", "MT_EGGCAPSULE", + "MT_IDEYAANCHOR", "MT_NIGHTOPIANHELPER", // the actual helper object that orbits you "MT_PIAN", // decorative singing friend "MT_SHLEEP", // almost-decorative sleeping enemy diff --git a/src/info.c b/src/info.c index fc30011bf..9a94a697d 100644 --- a/src/info.c +++ b/src/info.c @@ -16638,6 +16638,33 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] = S_NULL // raisestate }, + { // MT_IDEYAANCHOR + 1717, // doomednum + S_INVISIBLE, // spawnstate + 0, // spawnhealth + S_NULL, // seestate + sfx_None, // seesound + 0, // reactiontime + sfx_None, // attacksound + S_NULL, // painstate + 0, // painchance + sfx_None, // painsound + S_NULL, // meleestate + S_NULL, // missilestate + S_NULL, // deathstate + S_NULL, // xdeathstate + sfx_None, // deathsound + 0, // speed + 1*FRACUNIT, // radius + 2*FRACUNIT, // height + 0, // display offset + 100, // mass + 0, // damage + sfx_None, // activesound + MF_NOBLOCKMAP|MF_NOSECTOR|MF_NOCLIP|MF_NOGRAVITY, // flags + S_NULL // raisestate + }, + { // MT_NIGHTOPIANHELPER -1, // doomednum S_NIGHTOPIANHELPER1, // spawnstate diff --git a/src/info.h b/src/info.h index a386b199a..77ac06f7f 100644 --- a/src/info.h +++ b/src/info.h @@ -4217,6 +4217,7 @@ typedef enum mobj_type MT_NIGHTSEXTRATIME, MT_NIGHTSLINKFREEZE, MT_EGGCAPSULE, + MT_IDEYAANCHOR, MT_NIGHTOPIANHELPER, // the actual helper object that orbits you MT_PIAN, // decorative singing friend MT_SHLEEP, // almost-decorative sleeping enemy diff --git a/src/p_mobj.c b/src/p_mobj.c index 5292ef15e..235779770 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -10678,6 +10678,10 @@ ML_EFFECT4 : Don't clip inside the ground mobj->health = mthing->angle & 255; mobj->threshold = mthing->angle >> 8; break; + case MT_IDEYAANCHOR: + if (mthing->angle >= 0) + mobj->health = mthing->angle; + break; case MT_NIGHTSDRONE: { boolean flip = mthing->options & MTF_OBJECTFLIP;