Skip to content

Commit

Permalink
cut down in bloat
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderinghost committed Aug 12, 2023
1 parent 00e1f40 commit f451791
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions code/modules/paperwork/pencil_holder.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,46 +7,26 @@
lefthand_file = 'icons/mob/inhands/misc/sheets_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/sheets_righthand.dmi'
throwforce = 0
w_class = WEIGHT_CLASS_SMALL
w_class = WEIGHT_CLASS_BULKY
throw_speed = 3
throw_range = 7
pressure_resistance = 8

/obj/item/storage/pencil_holder/Initialize(mapload)
/atom/obj/item/storage/pencil_holder/Initialize(mapload)
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_items = 20
STR.max_w_class = WEIGHT_CLASS_SMALL
STR.max_combined_w_class = 20
STR.max_items = 200
STR.max_w_class = WEIGHT_CLASS_BULKY
STR.set_holdable(list(
/obj/item/pen,
/obj/item/pen/blue,
/obj/item/pen/blue/sleepy,
/obj/item/pen/red,
/obj/item/pen/red/edagger,
/obj/item/pen/green,
/obj/item/pen/fourcolor,
/obj/item/pen/invisible,
/obj/item/pen/charcoal,
/obj/item/pen/fountain,
/obj/item/pen/fountain/captain,
/obj/item/toy/crayon/red,
/obj/item/toy/crayon/orange,
/obj/item/toy/crayon/yellow,
/obj/item/toy/crayon/green,
/obj/item/toy/crayon/blue,
/obj/item/toy/crayon/purple,
/obj/item/toy/crayon/black,
/obj/item/toy/crayon/rainbow,
/obj/item/toy/crayon/mime,

/obj/item/toy/crayon,
))

/obj/item/storage/pencil_holder/crew
//the populated holder
name = "pencil holder"
desc = "a holder for writing utensils"
icon_state = "pencil_holder2"
icon_state = "pencil_holder0"

/obj/item/storage/pencil_holder/crew/PopulateContents()
. = ..()
Expand Down

0 comments on commit f451791

Please sign in to comment.