Skip to content

Commit

Permalink
medical aid resprite
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCastmer committed Feb 26, 2024
1 parent e344c19 commit 89e2820
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions modular_dripstation/code/game/objects/items/stacks/medical.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/obj/item/stack/medical/gauze
icon = 'modular_dripstation/icons/obj/aid.dmi'

/obj/item/stack/medical/gauze/improvised
icon = 'icons/obj/stack_medical.dmi'

/obj/item/stack/medical/bruise_pack
icon = 'modular_dripstation/icons/obj/aid.dmi'

/obj/item/stack/medical/ointment
icon = 'modular_dripstation/icons/obj/aid.dmi'

/obj/item/reagent_containers/medspray
icon = 'modular_dripstation/icons/obj/aid.dmi'

/obj/item/reagent_containers/medspray/attack_self(mob/user)
. = ..()
update_appearance(UPDATE_ICON)

/obj/item/reagent_containers/medspray/attack(mob/M, mob/user, def_zone)
. = ..()
update_appearance(UPDATE_ICON)

/obj/machinery/iv_drip/update_icon_state()
. = ..()
switch(volume)
if(30)
icon_state = "[initial(icon_state)]_full"

Check failure on line 28 in modular_dripstation/code/game/objects/items/stacks/medical.dm

View workflow job for this annotation

GitHub Actions / Lints

got '{', expected one of: operator, field access, ';'
if(0)

Check failure on line 29 in modular_dripstation/code/game/objects/items/stacks/medical.dm

View workflow job for this annotation

GitHub Actions / Lints

inconsistent multiple indentation: 5 > 1
icon_state = "[initial(icon_state)]_empty"
else

Check failure on line 31 in modular_dripstation/code/game/objects/items/stacks/medical.dm

View workflow job for this annotation

GitHub Actions / Lints

inconsistent multiple indentation: 5 > 1
icon_state = "[initial(icon_state)]"
Binary file added modular_dripstation/icons/obj/aid.dmi
Binary file not shown.
1 change: 1 addition & 0 deletions modular_dripstation/includes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
#include "code\game\objects\items\devices\laserpointer.dm"
#include "code\game\objects\items\devices\advpinpointer.dm"
#include "code\game\objects\items\stacks\cash.dm"
#include "code\game\objects\items\stacks\medical.dm"
#include "code\game\objects\items\implants\implant.dm"
#include "code\game\objects\items\implants\implanter.dm"
#include "code\game\objects\items\implants\implant_misc.dm"
Expand Down

0 comments on commit 89e2820

Please sign in to comment.