mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Donk shotgun shell boxes can now hold shotgun shells (#94498)
## About The Pull Request Shells spawn in the box, but when removed they can't be put back in. This is because they hold only donk pockets. Fixes this, and also allows you to refill it with other shotgun shells, since they're all more or less the same shape. This mirrors how the other donk boxes can store donk pockets of any kind. ## Why It's Good For The Game Exit-only boxes for ammo are very frustrating for players. They expect to be able to put the ammo back inside. ## Changelog 🆑 fix: The Donk Co. 'Donk Spike' boxes now properly store shotgun shells. /🆑
This commit is contained in:
@@ -16,6 +16,13 @@
|
||||
. = ..()
|
||||
set_holdable(/obj/item/food/donkpocket)
|
||||
|
||||
/datum/storage/box/donk_bullets/New(atom/parent, max_slots, max_specific_storage, max_total_storage, rustle_sound, remove_rustle_sound)
|
||||
. = ..()
|
||||
set_holdable(list(
|
||||
/obj/item/food/donkpocket,
|
||||
/obj/item/ammo_casing/shotgun,
|
||||
))
|
||||
|
||||
///Coffee box
|
||||
/datum/storage/box/coffee
|
||||
max_slots = 5
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
desc = "Instructions: DO NOT heat in microwave. Product will remove all hostile threats with cutting edge Donk Co. technology."
|
||||
icon_state = "donkpocketboxshell"
|
||||
donktype = /obj/item/ammo_casing/shotgun/flechette/donk
|
||||
storage_type = /datum/storage/box/donk_bullets
|
||||
|
||||
/obj/item/storage/box/papersack
|
||||
name = "paper sack"
|
||||
|
||||
Reference in New Issue
Block a user