forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from honkpocket/modular-vending
Modular vending machine item code & more
- Loading branch information
Showing
60 changed files
with
843 additions
and
301 deletions.
There are no files selected for viewing
Binary file modified
BIN
+97 Bytes
(100%)
code/modules/unit_tests/screenshots/screenshot_antag_icons_blobinfection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-79 Bytes
(97%)
code/modules/unit_tests/screenshots/screenshot_antag_icons_bloodbrother.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+42 Bytes
(100%)
code/modules/unit_tests/screenshots/screenshot_antag_icons_changeling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+42 Bytes
(100%)
code/modules/unit_tests/screenshots/screenshot_antag_icons_stowawaychangeling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-40 Bytes
(99%)
code/modules/unit_tests/screenshots/screenshot_humanoids__datum_species_jelly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-33 Bytes
(99%)
...nit_tests/screenshots/screenshot_humanoids__datum_species_jelly_luminescent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-40 Bytes
(99%)
...ules/unit_tests/screenshots/screenshot_humanoids__datum_species_jelly_slime.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-40 Bytes
(99%)
.../unit_tests/screenshots/screenshot_humanoids__datum_species_jelly_stargazer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-49 Bytes
(97%)
code/modules/unit_tests/screenshots/screenshot_humanoids__datum_species_lizard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-129 Bytes
(93%)
code/modules/unit_tests/screenshots/screenshot_humanoids__datum_species_moth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+216 Bytes
(130%)
modular_doppler/modular_cosmetics/GAGS/icons/mob/under.dmi
Binary file not shown.
Binary file modified
BIN
+134 Bytes
(130%)
modular_doppler/modular_cosmetics/GAGS/icons/obj/under.dmi
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
modular_doppler/modular_cosmetics/GAGS/json_configs/head/back_bow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"back_bow": [ | ||
{ | ||
"type": "icon_state", | ||
"icon_state": "back_bow", | ||
"blend_mode": "overlay", | ||
"color_ids": [ 1 ] | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
modular_doppler/modular_cosmetics/GAGS/json_configs/head/large_bow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"large_bow": [ | ||
{ | ||
"type": "icon_state", | ||
"icon_state": "large_bow", | ||
"blend_mode": "overlay", | ||
"color_ids": [ 1 ] | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
modular_doppler/modular_cosmetics/GAGS/json_configs/head/small_bow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"small_bow": [ | ||
{ | ||
"type": "icon_state", | ||
"icon_state": "small_bow", | ||
"blend_mode": "overlay", | ||
"color_ids": [ 1 ] | ||
} | ||
], | ||
"small_bow_t": [ | ||
{ | ||
"type": "icon_state", | ||
"icon_state": "small_bow_t", | ||
"blend_mode": "overlay", | ||
"color_ids": [ 1 ] | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
modular_doppler/modular_cosmetics/GAGS/json_configs/head/sweet_bow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"sweet_bow": [ | ||
{ | ||
"type": "icon_state", | ||
"icon_state": "sweet_bow", | ||
"blend_mode": "overlay", | ||
"color_ids": [ 1 ] | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
modular_doppler/modular_cosmetics/GAGS/json_configs/under/pentagram_dress.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"dress_pentagram": [ | ||
{ | ||
"type": "icon_state", | ||
"icon_state": "penta_base", | ||
"blend_mode": "overlay", | ||
"color_ids": [ 1 ] | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
modular_doppler/modular_cosmetics/GAGS/json_configs/under/strapless_dress.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"dress_strapless": [ | ||
{ | ||
"type": "icon_state", | ||
"icon_state": "strapless_belt", | ||
"blend_mode": "overlay", | ||
"color_ids": [ 1 ] | ||
}, | ||
{ | ||
"type": "icon_state", | ||
"icon_state": "strapless_base", | ||
"blend_mode": "overlay", | ||
"color_ids": [ 2 ] | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
modular_doppler/modular_cosmetics/code/belt/med_bandolier.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/obj/item/storage/belt/med_bandolier | ||
icon = 'modular_doppler/modular_cosmetics/icons/obj/belt/medical_extra.dmi' | ||
worn_icon = 'modular_doppler/modular_cosmetics/icons/mob/belt/medical_extra.dmi' | ||
name = "medical bandolier" | ||
desc = "A pocketed, pine green belt slung like a sash over the shoulder. Features numerous pockets for medicines and poisons alike. Now is coward healing time." | ||
icon_state = "med_bandolier" | ||
worn_icon_state = "med_bandolier" | ||
|
||
/obj/item/storage/belt/med_bandolier/Initialize(mapload) | ||
. = ..() | ||
atom_storage.max_specific_storage = WEIGHT_CLASS_NORMAL | ||
atom_storage.max_slots = 14 | ||
atom_storage.max_total_storage = 35 | ||
atom_storage.set_holdable(list( | ||
/obj/item/dnainjector, | ||
/obj/item/reagent_containers/dropper, | ||
/obj/item/reagent_containers/cup/bottle, | ||
/obj/item/reagent_containers/pill, | ||
/obj/item/reagent_containers/syringe, | ||
/obj/item/reagent_containers/medigel, | ||
/obj/item/storage/pill_bottle, | ||
/obj/item/implanter, | ||
/obj/item/hypospray/mkii, | ||
/obj/item/reagent_containers/cup/hypovial, | ||
)) |
52 changes: 52 additions & 0 deletions
52
modular_doppler/modular_cosmetics/code/garment_bag_overrides.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/obj/item/storage/bag/garment/captain/PopulateContents() | ||
. = ..() | ||
new /obj/item/clothing/under/misc/doppler_uniform/command(src) | ||
new /obj/item/clothing/neck/doppler_mantle/command(src) | ||
new /obj/item/clothing/head/beret/doppler_command/command(src) | ||
new /obj/item/clothing/head/utility/hardhat/welding/doppler_command/command(src) | ||
|
||
/obj/item/storage/bag/garment/hop/PopulateContents() | ||
. = ..() | ||
new /obj/item/clothing/under/misc/doppler_uniform/service(src) | ||
new /obj/item/clothing/neck/doppler_mantle/service(src) | ||
new /obj/item/clothing/head/beret/doppler_command/service(src) | ||
new /obj/item/clothing/head/utility/hardhat/welding/doppler_command/service(src) | ||
|
||
/obj/item/storage/bag/garment/hos/PopulateContents() | ||
. = ..() | ||
new /obj/item/clothing/under/misc/doppler_uniform/security(src) | ||
new /obj/item/clothing/neck/doppler_mantle/security(src) | ||
new /obj/item/clothing/head/beret/doppler_command/security(src) | ||
new /obj/item/clothing/head/utility/hardhat/welding/doppler_command/security(src) | ||
|
||
/obj/item/storage/bag/garment/warden/PopulateContents() | ||
. = ..() | ||
new /obj/item/clothing/under/misc/doppler_uniform/security(src) | ||
|
||
/obj/item/storage/bag/garment/research_director/PopulateContents() | ||
. = ..() | ||
new /obj/item/clothing/under/misc/doppler_uniform/science(src) | ||
new /obj/item/clothing/neck/doppler_mantle/science(src) | ||
new /obj/item/clothing/head/beret/doppler_command/science(src) | ||
new /obj/item/clothing/head/utility/hardhat/welding/doppler_command/science(src) | ||
|
||
/obj/item/storage/bag/garment/chief_medical/PopulateContents() | ||
. = ..() | ||
new /obj/item/clothing/under/misc/doppler_uniform/medical(src) | ||
new /obj/item/clothing/neck/doppler_mantle/medical(src) | ||
new /obj/item/clothing/head/beret/doppler_command/medical(src) | ||
new /obj/item/clothing/head/utility/hardhat/welding/doppler_command/medical(src) | ||
|
||
/obj/item/storage/bag/garment/engineering_chief/PopulateContents() | ||
. = ..() | ||
new /obj/item/clothing/under/misc/doppler_uniform/engineering(src) | ||
new /obj/item/clothing/neck/doppler_mantle/engineering(src) | ||
new /obj/item/clothing/head/beret/doppler_command/engineering(src) | ||
new /obj/item/clothing/head/utility/hardhat/welding/doppler_command/engineering(src) | ||
|
||
/obj/item/storage/bag/garment/quartermaster/PopulateContents() | ||
. = ..() | ||
new /obj/item/clothing/under/misc/doppler_uniform/cargo(src) | ||
new /obj/item/clothing/neck/doppler_mantle/cargo(src) | ||
new /obj/item/clothing/head/beret/doppler_command/cargo(src) | ||
new /obj/item/clothing/head/utility/hardhat/welding/doppler_command/cargo(src) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/obj/item/clothing/head/bow | ||
name = "large bow" | ||
desc = "A large bow that you can place on top of your head." | ||
icon_state = "large_bow" | ||
icon_preview = 'modular_doppler/modular_cosmetics/GAGS/icons/obj/head.dmi' | ||
icon_state_preview = "large_bow" | ||
greyscale_config = /datum/greyscale_config/large_bow | ||
greyscale_config_worn = /datum/greyscale_config/large_bow/worn | ||
greyscale_colors = "#7b9ab5" | ||
flags_1 = IS_PLAYER_COLORABLE_1 | ||
|
||
/obj/item/clothing/head/bow/small | ||
name = "small bow" | ||
desc = "A small compact bow that you can place on the side of your hair." | ||
icon_state = "small_bow" | ||
icon_state_preview = "small_bow" | ||
greyscale_config = /datum/greyscale_config/small_bow | ||
greyscale_config_worn = /datum/greyscale_config/small_bow/worn | ||
|
||
/obj/item/clothing/head/bow/small/Initialize(mapload) | ||
. = ..() | ||
AddComponent(/datum/component/toggle_clothes, "small_bow_t") | ||
|
||
/obj/item/clothing/head/bow/back | ||
name = "back bow" | ||
desc = "A large bow that you can place on the back of your head." | ||
icon_state = "back_bow" | ||
icon_state_preview = "back_bow" | ||
greyscale_config = /datum/greyscale_config/back_bow | ||
greyscale_config_worn = /datum/greyscale_config/back_bow/worn | ||
|
||
/obj/item/clothing/head/bow/sweet | ||
name = "sweet bow" | ||
desc = "A sweet bow that you can place on the back of your head." | ||
icon_state = "sweet_bow" | ||
icon_state_preview = "sweet_bow" | ||
greyscale_config = /datum/greyscale_config/sweet_bow | ||
greyscale_config_worn = /datum/greyscale_config/sweet_bow/worn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/obj/item/clothing/under/dress/doppler | ||
icon = 'modular_doppler/modular_cosmetics/icons/obj/under/dresses.dmi' | ||
worn_icon = 'modular_doppler/modular_cosmetics/icons/mob/under/dresses.dmi' | ||
|
||
/obj/item/clothing/under/dress/doppler/pentagram | ||
name = "pentagram strapped dress" | ||
desc = "A soft dress with straps designed to rest as a pentragram. Isn't this against NT's whole \"Authorized Religion\" stuff?" | ||
icon_state = "dress_pentagram" | ||
icon_preview = 'modular_doppler/modular_cosmetics/GAGS/icons/obj/under.dmi' | ||
icon_state_preview = "penta_base" | ||
body_parts_covered = CHEST|GROIN|LEGS | ||
greyscale_config = /datum/greyscale_config/pentagram_dress | ||
greyscale_config_worn = /datum/greyscale_config/pentagram_dress/worn | ||
greyscale_colors = "#403c46" | ||
flags_1 = IS_PLAYER_COLORABLE_1 | ||
|
||
/obj/item/clothing/under/dress/doppler/strapless | ||
name = "strapless dress" | ||
desc = "Typical formal wear with no straps, instead opting to be tied at the waist. Most likely will need constant adjustments." | ||
icon_state = "dress_strapless" | ||
icon_preview = 'modular_doppler/modular_cosmetics/GAGS/icons/obj/under.dmi' | ||
icon_state_preview = "strapless_base" | ||
body_parts_covered = CHEST|GROIN|LEGS | ||
greyscale_config = /datum/greyscale_config/strapless_dress | ||
greyscale_config_worn = /datum/greyscale_config/strapless_dress/worn | ||
greyscale_colors = "#cc0000#5f5f5f" | ||
flags_1 = IS_PLAYER_COLORABLE_1 | ||
|
||
/obj/item/clothing/under/dress/doppler/flower | ||
name = "flower dress" | ||
desc = "Lovely dress. Colored like the autumn leaves." | ||
icon_state = "flower_dress" | ||
body_parts_covered = CHEST|GROIN|LEGS | ||
|
||
/obj/item/clothing/under/dress/doppler/pinktutu | ||
name = "pink tutu" | ||
desc = "A fluffy pink tutu." | ||
icon_state = "pinktutu" |
18 changes: 18 additions & 0 deletions
18
modular_doppler/modular_cosmetics/code/under/medical_extra.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* CHEMIST | ||
*/ | ||
|
||
/obj/item/clothing/under/rank/medical/chemist/pharmacologist | ||
name = "pharmacologist jumpsuit" | ||
desc = "A white shirt with left-aligned buttons and an orange stripe, lined with protection against chemical spills." | ||
icon = 'modular_doppler/modular_cosmetics/icons/obj/under/medical_extra.dmi' | ||
worn_icon = 'modular_doppler/modular_cosmetics/icons/mob/under/medical_extra.dmi' | ||
icon_state = "pharmacologist" | ||
supports_variations_flags = CLOTHING_DIGITIGRADE_VARIATION_NO_NEW_ICON | ||
|
||
/obj/item/clothing/under/rank/medical/chemist/pharmacologist/skirt | ||
name = "pharmacologist jumpskirt" | ||
icon_state = "pharmacologist_skirt" | ||
body_parts_covered = CHEST|GROIN|ARMS | ||
dying_key = DYE_REGISTRY_JUMPSKIRT | ||
female_sprite_flags = FEMALE_UNIFORM_TOP_ONLY |
Oops, something went wrong.