mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Fixes for #91273
This commit is contained in:
@@ -28,9 +28,9 @@
|
||||
/// Is the parent book unable to be carved? TRUE prevents carving. By default this is unset
|
||||
var/cannot_carve
|
||||
|
||||
/obj/item/book/try_carve(obj/item/carving_item, mob/living/user, params)
|
||||
/obj/item/book/carving_act(mob/living/user, obj/item/tool)
|
||||
if(cannot_carve)
|
||||
balloon_alert(user, "unable to be carved!")
|
||||
return FALSE
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
|
||||
return ..()
|
||||
|
||||
@@ -271,9 +271,9 @@
|
||||
. = ..()
|
||||
SSpoints_of_interest.make_point_of_interest(src)
|
||||
|
||||
/obj/item/book/kindred/try_carve(obj/item/carving_item, mob/living/user, params)
|
||||
/obj/item/book/kindred/carving_act(mob/living/user, obj/item/tool)
|
||||
to_chat(user, span_notice("You feel the gentle whispers of a Librarian telling you not to cut [starting_title]."))
|
||||
return FALSE
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
|
||||
///Attacking someone with the book.
|
||||
/obj/item/book/kindred/afterattack(mob/living/target, mob/living/user, flag, params)
|
||||
|
||||
Reference in New Issue
Block a user