Merge pull request #6799 from Cerebulon/booksprites

New book sprites + inhands
This commit is contained in:
Schnayy
2020-07-09 16:32:01 -05:00
committed by VirgoBot
parent b8d851ea59
commit 99a977ee3d
13 changed files with 89 additions and 1 deletions

View File

@@ -167,6 +167,11 @@ Book Cart End
name = "book"
icon = 'icons/obj/library.dmi'
icon_state ="book"
item_icons = list(
slot_l_hand_str = 'icons/mob/items/lefthand_books.dmi',
slot_r_hand_str = 'icons/mob/items/righthand_books.dmi'
)
item_state = "book"
throw_speed = 1
throw_range = 5
flags = NOCONDUCT

View File

@@ -447,7 +447,8 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
B.title = title
B.author = author
B.dat = content
B.icon_state = "book[rand(1,7)]"
B.icon_state = "book[rand(1,16)]"
B.item_state = B.icon_state
src.visible_message("[src]'s printer hums as it produces a completely bound book. How did it do that?")
break
if(href_list["orderbyid"])