mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Removed one line ifs and elses. (#11389)
This commit is contained in:
@@ -315,7 +315,8 @@
|
||||
scanner.computer.inventory.Add(src)
|
||||
to_chat(user, "[W]'s screen flashes: 'Book stored in buffer. Title added to general inventory.'")
|
||||
else if(istype(W, /obj/item/weapon/kitchen/utensil/knife/large) || iswirecutter(W))
|
||||
if(carved) return
|
||||
if(carved)
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You begin to carve out [title].</span>")
|
||||
if(do_after(user, src, 30))
|
||||
to_chat(user, "<span class='notice'>You carve out the pages from [title]! You didn't want to read it anyway.</span>")
|
||||
|
||||
Reference in New Issue
Block a user