From 9d435971814bf4625a7c35b24e362c962b146226 Mon Sep 17 00:00:00 2001 From: 8street Date: Mon, 14 Dec 2020 09:49:47 +0300 Subject: [PATCH] Delete unused flag --- data/json/monsters/bird.json | 2 +- doc/JSON_FLAGS.md | 1 - src/monstergenerator.cpp | 1 - src/mtype.h | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/data/json/monsters/bird.json b/data/json/monsters/bird.json index 353cbeb825593..83e187b57777e 100644 --- a/data/json/monsters/bird.json +++ b/data/json/monsters/bird.json @@ -358,6 +358,6 @@ "fear_triggers": [ "SOUND", "PLAYER_CLOSE", "FRIEND_ATTACKED", "FRIEND_DIED", "FIRE", "HURT" ], "death_function": [ "NORMAL" ], "biosignature": { "biosig_item": "feces_bird", "biosig_timer": 4 }, - "flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM", "FLIES", "FEATHER", "SWARMS", "BIRDFOOD" ] + "flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM", "FLIES", "SWARMS", "BIRDFOOD" ] } ] diff --git a/doc/JSON_FLAGS.md b/doc/JSON_FLAGS.md index 1c712ba0d0a5b..89a90c12d18cd 100644 --- a/doc/JSON_FLAGS.md +++ b/doc/JSON_FLAGS.md @@ -940,7 +940,6 @@ Other monster flags. - ```ELECTRIC``` Shocks unarmed attackers. - ```ELECTRONIC``` e.g. A Robot; affected by emp blasts and other stuff. - ```FAT``` May produce fat when butchered. -- ```FEATHER``` May produce feathers when butchered. - ```FILTHY``` Any clothing it drops will be filthy. The squeamish trait prevents wearing clothing with this flag, one can't craft anything from filthy components, and wearing filthy clothes may result in infection if hit in melee. - ```FIREPROOF``` Immune to fire. - ```FIREY``` Burns stuff and is immune to fire. diff --git a/src/monstergenerator.cpp b/src/monstergenerator.cpp index 8ca69b9162deb..bafa9caa517f0 100644 --- a/src/monstergenerator.cpp +++ b/src/monstergenerator.cpp @@ -116,7 +116,6 @@ std::string enum_to_string( m_flag data ) case MF_FUR: return "FUR"; case MF_LEATHER: return "LEATHER"; case MF_WOOL: return "WOOL"; - case MF_FEATHER: return "FEATHER"; case MF_CBM_CIV: return "CBM_CIV"; case MF_BONES: return "BONES"; case MF_FAT: return "FAT"; diff --git a/src/mtype.h b/src/mtype.h index d260558d44d17..9819fc60242fb 100644 --- a/src/mtype.h +++ b/src/mtype.h @@ -106,7 +106,6 @@ enum m_flag : int { MF_FUR, // May produce fur when butchered MF_LEATHER, // May produce leather when butchered MF_WOOL, // May produce wool when butchered - MF_FEATHER, // May produce feather when butchered MF_BONES, // May produce bones and sinews when butchered; if combined with POISON flag, tainted bones, if combined with HUMAN, human bones MF_FAT, // May produce fat when butchered; if combined with POISON flag, tainted fat MF_CONSOLE_DESPAWN, // Despawns when a nearby console is properly hacked