====== Scroll Of Terror Item - Code References ====== ===== Java Classes ===== * **Implementation:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/scrolls/ScrollOfTerror.java|ScrollOfTerror.java]] * **Inheritance:** Inherits from [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/scrolls/Scroll.java|Scroll.java]] * **Item Registration:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java#L264|ItemFactory.java]] - registers ScrollOfTerror class * **Scroll Registration:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/scrolls/Scroll.java#L39|Scroll.java]] - registers ScrollOfTerror in the scroll type list ===== JSON Configuration ===== This item is implemented purely in Java, no JSON configuration found. ===== String Resources ===== Scroll of Terror A flash of red light will overwhelm all creatures in your field of view with terror, and they will turn and flee. Attacking a fleeing enemy will dispel the effect. The scroll emits a brilliant flash of red light The scroll emits a brilliant flash of red light and the %s flees! The scroll emits a brilliant flash of red light and the monsters flee! ===== Lua Scripts ===== This entity is implemented in Java, no Lua script exists ===== Additional References ===== * **Treasury Configs:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/Treasury.json#L115|Treasury.json]], [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/SpidersTreasury.json#L112|SpidersTreasury.json]] * **Terror Buff:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Terror.java|Terror.java]] - applies terror effect * **Effects:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/effects/Flare.java|Flare.java]] - creates the red light effect