From 92999914c829280d03ac3e587d5e317f521e49ec Mon Sep 17 00:00:00 2001 From: Michael Meyer Date: Fri, 13 May 2022 11:53:58 -0400 Subject: [PATCH] Prevent hero from writing Pratchett books The hero's ability to channel Pratchett and write his books with a magic marker once she had read or IDed at least one of them seemed strange, especially cases like an illiterate hero doing it as her first introduction to the written word. Block the hero from writing random novels with a marker. The image of the hero sitting down in the dungeon to write a novel is funny, so it feels like a good spot for a funny message. I'm not sure if what I have there is perfect, but it can always be changed. --- src/write.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/write.c b/src/write.c index 7cea84235..2ec86f1e0 100644 --- a/src/write.c +++ b/src/write.c @@ -220,6 +220,11 @@ dowrite(struct obj *pen) You_cant("write that!"); pline("It's obscene!"); return ECMD_TIME; + } else if (i == SPE_NOVEL) { + You( + "prepare to write the Great Yendorian Novel, but lack inspiration."); + You("give up on the idea."); + return ECMD_TIME; } else if (i == SPE_BOOK_OF_THE_DEAD) { pline("No mere dungeon adventurer could write that."); return ECMD_TIME;