Skip to content

Commit

Permalink
adds canopics to the game
Browse files Browse the repository at this point in the history
pending proper modularisation which i will fix when I'm awake
  • Loading branch information
Veth-s committed Aug 22, 2024
1 parent 7ffd795 commit 0286698
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
76 changes: 76 additions & 0 deletions code/modules/veth_misc_items/canopics/canopics.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
//canopic box
/obj/item/storage/box/canopic_box
name = "canopic box"
desc = "An ornate stone box inscribed with ancient hieroglyphs."
icon = 'icons/obj/storage/canopic.dmi'
icon_state = "canopic_box"
inhand_icon_state = "canopic_box"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
resistance_flags = FLAMMABLE
drop_sound = 'sound/items/handling/cardboardbox_drop.ogg'
pickup_sound = 'sound/items/handling/cardboardbox_pickup.ogg'
//jackal canopic
/obj/item/storage/box/canopic_jackal
name = "jackal canopic jar"
desc = "An ornate stone canopic, inscribed with ancient hieroglyphs. These used to be used to store organs."
icon = 'icons/obj/storage/canopic.dmi'
icon_state = "canopic_jackal"
inhand_icon_state = "canopic_jackal"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
resistance_flags = FLAMMABLE
drop_sound = 'sound/items/handling/cardboardbox_drop.ogg'
pickup_sound = 'sound/items/handling/cardboardbox_pickup.ogg'
/obj/item/storage/box/canopic_jackal/Initialize(mapload)
. = ..()
atom_storage.max_specific_storage = WEIGHT_CLASS_SMALL
update_appearance()
//human canopic
/obj/item/storage/box/canopic_human
name = "human canopic jar"
desc = "An ornate stone canopic, inscribed with ancient hieroglyphs. These used to be used to store organs."
icon = 'icons/obj/storage/canopic.dmi'
icon_state = "canopic_human"
inhand_icon_state = "canopic_human"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
resistance_flags = FLAMMABLE
drop_sound = 'sound/items/handling/cardboardbox_drop.ogg'
pickup_sound = 'sound/items/handling/cardboardbox_pickup.ogg'
/obj/item/storage/box/canopic_human/Initialize(mapload)
. = ..()
atom_storage.max_specific_storage = WEIGHT_CLASS_SMALL
update_appearance()
//monke canopic
/obj/item/storage/box/canopic_monke
name = "monke canopic jar"
desc = "An ornate stone canopic, inscribed with ancient hieroglyphs. These used to be used to store organs."
icon = 'icons/obj/storage/canopic.dmi'
icon_state = "canopic_monke"
inhand_icon_state = "canopic_monke"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
resistance_flags = FLAMMABLE
drop_sound = 'sound/items/handling/cardboardbox_drop.ogg'
pickup_sound = 'sound/items/handling/cardboardbox_pickup.ogg'
/obj/item/storage/box/canopic_monke/Initialize(mapload)
. = ..()
atom_storage.max_specific_storage = WEIGHT_CLASS_SMALL
update_appearance()
//hawk canopic
/obj/item/storage/box/canopic_hawk
name = "hawk canopic jar"
desc = "An ornate stone canopic, inscribed with ancient hieroglyphs. These used to be used to store organs."
icon = 'icons/obj/storage/canopic.dmi'
icon_state = "canopic_hawk"
inhand_icon_state = "canopic_hawk"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
resistance_flags = FLAMMABLE
drop_sound = 'sound/items/handling/cardboardbox_drop.ogg'
pickup_sound = 'sound/items/handling/cardboardbox_pickup.ogg'
/obj/item/storage/box/canopic_hawk/Initialize(mapload)
. = ..()
atom_storage.max_specific_storage = WEIGHT_CLASS_SMALL
update_appearance()
Binary file not shown.
25 changes: 25 additions & 0 deletions code/modules/veth_misc_items/canopics/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Title: <!--Title of your addition-->

<!-- uppercase, underscore_connected name of your module, that you use to mark files-->
MODULE ID: CANOPICS

### Description:
This PR adds canopics requested by Malphy to the game.
https://discord.com/channels/748354466335686736/1170798993308139571

### Master file additions

- N/A
<!-- Any master file changes you've made to existing master files or if you've added a new master file. Please mark either as #NEW or #CHANGE -->

### Included files that are not contained in this module:

- N/A
<!-- Likewise, be it a non-modular file or a modular one that's not contained within the folder belonging to this specific module, it should be mentioned here -->

### Credits:

<!-- Here go the credits to you, dear coder, and in case of collaborative work or ports, credits to the original source of the code -->
<!-- Original Coders -->
Made by Veth

0 comments on commit 0286698

Please sign in to comment.