Skip to content

Commit

Permalink
Ports several book-related PRs from /tg/ (#2454)
Browse files Browse the repository at this point in the history
* Adds book burning (#74873)

For some reason, unlike other paper items, you couldn't ignite books
with a lighter or other hot item.
Now, you can!

(Also made it so the odd obscure mechanic of cutting pages out of books
can be done by any sharp item, not just wirecutters or knives)

Consistency.
~~Burning copies of WGW.~~

:cl:
add: Books can now be burned just like any other paper item.
add: You can cut pages out of books with any sharp item, not just knives
or wirecutters.
/:cl:

---------

Co-authored-by: san7890 <[email protected]>

* Books now render Markdown, fixing paper importing (#74902)

Books didn't render markdown and instead just dumped the raw contents,
(after a html encode), into the window.
Changes them to use tgui and support markdown rendering.

Books should should look the same as the paper used to make them.
:cl:
fix: Book's no longer take your formatting and throw it out the window.
refactor: Book display and rendering
/:cl:

---------

Co-authored-by: GoldenAlpharex <[email protected]>
Co-authored-by: Mothblocks <[email protected]>

* Allows the book binder to remember font typing (#75007)

use that for book binding
## About The Pull Request

Closes tgstation/tgstation#74996
## Why It's Good For The Game
## Changelog
:cl:
fix: Bookbinder no longer takes your pen's font and throws it out the
nearest window
/:cl:

* Bible refactor (#75350)

This started as a simple addition where burning a bible would curse you,
but then I realized... Bibles aren't even proper books, thus can't be
burned!
So yeah, since that is not necessary due to how atom_storage works, I
reworked that.

Because burning bibles and getting cursed for it is funny.

![image](https://github.com/tgstation/tgstation/assets/82850673/2a8489ce-ecd6-45ee-9eb9-168ff820af65)

![image](https://github.com/tgstation/tgstation/assets/82850673/ebe98ad6-2d0d-4d20-9ea1-5d472d6ca465)

:cl:
add: You can burn bibles now! But heresy has a steep cost...
/:cl:

---------

Co-authored-by: san7890 <[email protected]>

* Finish repathing

* fix all maps

* refix maps

* ensure maps are all proper

---------

Co-authored-by: ChungusGamer666 <[email protected]>
Co-authored-by: san7890 <[email protected]>
Co-authored-by: Zephyr <[email protected]>
Co-authored-by: GoldenAlpharex <[email protected]>
Co-authored-by: Mothblocks <[email protected]>
  • Loading branch information
6 people authored Sep 8, 2024
1 parent 1e6cb56 commit 9f9f412
Show file tree
Hide file tree
Showing 55 changed files with 12,997 additions and 13,124 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
pixel_x = -3;
pixel_y = 3
},
/obj/item/storage/book/bible{
/obj/item/book/bible{
pixel_y = 5
},
/obj/item/flashlight/flare/candle{
Expand Down
2 changes: 1 addition & 1 deletion _maps/RandomRuins/SpaceRuins/clericden.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
/turf/open/floor/plating/airless,
/area/ruin/space)
"Q" = (
/obj/item/storage/book/bible,
/obj/item/book/bible,
/obj/effect/decal/cleanable/blood,
/turf/open/misc/asteroid/airless,
/area/ruin/space)
Expand Down
Loading

0 comments on commit 9f9f412

Please sign in to comment.