Skip to content

Commit

Permalink
add: construction bag
Browse files Browse the repository at this point in the history
Описание:

Добавляет инженерам сумку, в которую можно складывать платы, батарейки и т.д.

Ссылка на предложение:

Само предложение:

https://discordapp.com/channels/617003227182792704/755125334097133628/1129295626614611978

Уточнение характеристик и спавн:

https://discordapp.com/channels/617003227182792704/755125334097133628/1165764080645181541
  • Loading branch information
Shaman1024 committed Oct 28, 2023
1 parent b11415f commit 933ea23
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions code/game/objects/items/weapons/storage/bags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* Plant Bag
* Sheet Snatcher
* Book Bag
* Construction bag
* Tray
*
* -Sayu
Expand Down Expand Up @@ -387,6 +388,26 @@
can_hold = list(/obj/item/book, /obj/item/storage/bible, /obj/item/tome, /obj/item/spellbook)
resistance_flags = FLAMMABLE

// ------------------------------------------
// Construction bag
// ------------------------------------------

/obj/item/storage/bag/construction
name = "construction bag"
desc = "A bag for construction stuff."
icon = 'icons/obj/tools.dmi'
icon_state = "construction_bag"
storage_slots = 50
max_combined_w_class = 100
max_w_class = WEIGHT_CLASS_NORMAL
w_class = WEIGHT_CLASS_TINY
can_hold = list(
/obj/item/assembly, /obj/item/circuitboard,
/obj/item/airlock_electronics, /obj/item/firelock_electronics,
/obj/item/firealarm_electronics, /obj/item/airalarm_electronics, /obj/item/apc_electronics,
/obj/item/stock_parts/cell, /obj/item/stock_parts, /obj/item/camera_assembly)
resistance_flags = FLAMMABLE

/*
* Trays - Agouri
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
new /obj/item/holosign_creator/atmos(src)
new /obj/item/megaphone(src) //added here deleted on maps
new /obj/item/storage/garmentbag/engineering_chief(src)
new /obj/item/storage/bag/construction(src)

/obj/structure/closet/secure_closet/engineering_electrical
name = "electrical supplies locker"
Expand Down Expand Up @@ -86,6 +87,8 @@
new /obj/item/cartridge/engineering(src)
new /obj/item/clothing/head/beret/eng(src)
new /obj/item/clothing/head/hardhat/orange(src)
new /obj/item/storage/bag/construction(src)
new /obj/item/storage/bag/construction(src)


/obj/structure/closet/secure_closet/atmos_personal
Expand Down
Binary file modified icons/obj/tools.dmi
Binary file not shown.

0 comments on commit 933ea23

Please sign in to comment.