Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

garrow mod 3 #476

Draft
wants to merge 37 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
eaa8bcb
garrow mod 3
DexterDude Sep 26, 2024
a3addcc
idfk
DexterDude Oct 3, 2024
18e46a7
Merge remote-tracking branch 'upstream/master' into garrow-mod-3
DexterDude Oct 3, 2024
f02c3f9
update
DexterDude Oct 5, 2024
7d12ac4
Merge remote-tracking branch 'upstream/master' into garrow-mod-3
DexterDude Oct 9, 2024
9bd5eab
changes
DexterDude Oct 9, 2024
4f2bd1d
w
DexterDude Oct 9, 2024
5299611
w
DexterDude Oct 21, 2024
e7dc1a5
w
DexterDude Oct 27, 2024
ad55e6e
Merge remote-tracking branch 'upstream/master' into garrow-mod-3
DexterDude Oct 27, 2024
606922f
changes
DexterDude Oct 27, 2024
4bdab06
fixs
DexterDude Oct 27, 2024
55f3fc1
w
DexterDude Oct 27, 2024
028c41c
Update golden_arrow.dmm
DexterDude Oct 27, 2024
3a3a47b
wd
DexterDude Oct 27, 2024
6aec102
DIE
DexterDude Oct 27, 2024
7ab8304
DIE GO FUCK YOURSELF GHARHRH
DexterDude Oct 27, 2024
e804dd7
HAVE MERCY LINTERS
DexterDude Oct 27, 2024
ee571f0
AAAAAAAAAAAA
DexterDude Oct 27, 2024
915f830
f
DexterDude Oct 27, 2024
17cec8b
gismorp gultagavar
DexterDude Oct 27, 2024
f8771c6
1
AndroBetel Oct 27, 2024
6ac0845
oops
AndroBetel Oct 27, 2024
da453e3
Merge branch 'master' of https://github.com/cmss13-devs/cmss13-pve in…
AndroBetel Oct 29, 2024
faea223
Update squad_medic.dm
AndroBetel Oct 29, 2024
938b15e
121
AndroBetel Oct 30, 2024
d13ac2e
1
AndroBetel Nov 1, 2024
45e1851
CRANES
DexterDude Nov 8, 2024
6126b1f
heee
DexterDude Nov 9, 2024
33f388b
Update golden_arrow.dmm
DexterDude Nov 9, 2024
e358fe2
wddadwd
DexterDude Nov 9, 2024
94bcabc
Update crane_railing.dm
DexterDude Nov 9, 2024
7e8ae02
Update cargocrane_tracks.dmi
DexterDude Nov 9, 2024
263e169
wraasffawsrfwafda
DexterDude Nov 9, 2024
2cc9724
Update golden_arrow.dmm
DexterDude Nov 9, 2024
0ac58fe
wraaagg
DexterDude Nov 10, 2024
e7a8d36
Update packets.dmi
DexterDude Nov 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions code/__DEFINES/sounds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
#define AMBIENCE_MALL 'sound/ambience/medbay1.ogg'
#define AMBIENCE_CAVE 'sound/ambience/desert.ogg'
#define AMBIENCE_YAUTJA 'sound/ambience/yautja_ship.ogg'
#define AMBIENCE_AICORE 'sound/ambience/ai_interface.ogg'

#define SOUND_MARINE_DRUMS 'sound/effects/drums.ogg'

Expand Down
4 changes: 4 additions & 0 deletions code/__DEFINES/vendors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@
#define MARINE_CAN_BUY_DRESS "dress"
#define CIVILIAN_CAN_BUY_BACKPACK "civilian_backpack"
#define CIVILIAN_CAN_BUY_UTILITY "civilian_utility"
#define MARINE_CAN_BUY_MAIN "main"
#define MARINE_CAN_BUY_SIDE "side"

#define MARINE_CAN_BUY_ALL list(MARINE_CAN_BUY_UNIFORM = 1, MARINE_CAN_BUY_SHOES = 1, MARINE_CAN_BUY_HELMET = 1, MARINE_CAN_BUY_ARMOR = 1, MARINE_CAN_BUY_GLOVES = 1, MARINE_CAN_BUY_EAR = 1, MARINE_CAN_BUY_BACKPACK = 1, MARINE_CAN_BUY_POUCH = 2, MARINE_CAN_BUY_BELT = 1, MARINE_CAN_BUY_GLASSES = 1, MARINE_CAN_BUY_MASK = 1, MARINE_CAN_BUY_ESSENTIALS = 1, MARINE_CAN_BUY_SECONDARY = 1, MARINE_CAN_BUY_ATTACHMENT = 1, MARINE_CAN_BUY_MRE = 1, MARINE_CAN_BUY_ACCESSORY = 1, MARINE_CAN_BUY_COMBAT_SHOES = 1, MARINE_CAN_BUY_COMBAT_HELMET = 1, MARINE_CAN_BUY_COMBAT_ARMOR = 1, MARINE_CAN_BUY_KIT = 1, MARINE_CAN_BUY_DRESS = 99)

#define MARINE_CAN_BUY_FOOD list(MARINE_CAN_BUY_MAIN = 1, MARINE_CAN_BUY_SIDE = 2)

#define MARINE_TOTAL_BUY_POINTS 45
#define MARINE_TOTAL_SNOWFLAKE_POINTS 120

Expand Down
3 changes: 2 additions & 1 deletion code/game/area/golden_arrow.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
powernet_name = "golden_arrow"
sound_environment = SOUND_ENVIRONMENT_ROOM
soundscape_interval = 30
ambience_exterior = AMBIENCE_ALMAYER
ambience_exterior = AMBIENCE_SHIP
ceiling_muffle = FALSE

/area/golden_arrow/hangar
Expand Down Expand Up @@ -87,6 +87,7 @@
icon_state = "airoom"
soundscape_playlist = SCAPE_PL_AICORE
soundscape_interval = 7
ambience_exterior = AMBIENCE_AICORE

/area/golden_arrow/motor_pool
name = "\improper Motor Pool"
Expand Down
15 changes: 15 additions & 0 deletions code/game/machinery/ARES/ARES_interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -601,3 +601,18 @@

if(playsound)
playsound(src, "keyboard_alt", 15, 1)

/obj/structure/machinery/computer/ares_console/large
name = "AI interface computer"
desc = "A large, bulky computer intended to allow the user to interface with the ship's AI."
icon = 'icons/obj/structures/props/almayer_props64.dmi'
icon_state = "ai_interface"
layer = BELOW_MOB_LAYER
pixel_x = -16
pixel_y = -8

/obj/structure/machinery/computer/ares_console/large/Initialize()
. = ..()
overlays.Cut()
var/image/source_image = image(src.icon, "ai_interface_top", layer = ABOVE_MOB_LAYER)
overlays += source_image
70 changes: 62 additions & 8 deletions code/game/machinery/cryopod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
//Cryopods themselves.
/obj/structure/machinery/cryopod
name = "hypersleep chamber"
desc = "A large automated capsule with LED displays intended to put anyone inside into 'hypersleep', a form of non-cryogenic statis used on most ships, linked to a long-term hypersleep bay on a lower level."
desc = "A large automated capsule with LED displays intended to put anyone inside into 'hypersleep', a form of non-cryogenic statis used on most ships."
icon = 'icons/obj/structures/machinery/cryogenics.dmi'
icon_state = "body_scanner_open"
icon_state = "hypersleep_open"
density = TRUE
anchored = TRUE

Expand All @@ -187,6 +187,7 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
var/silent_exit = FALSE
var/obj/item/device/radio/intercom/announce //Intercom for cryo announcements


/obj/structure/machinery/cryopod/right
dir = WEST

Expand All @@ -200,6 +201,11 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
QDEL_NULL(announce)
. = ..()

/obj/structure/machinery/cryopod/update_icon()
if(occupant)
icon_state = "hypersleep_closed"
else
icon_state = "hypersleep_open"

//Lifted from Unity stasis.dm and refactored. ~Zuhayr
/obj/structure/machinery/cryopod/process()
Expand Down Expand Up @@ -361,7 +367,6 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
GLOB.data_core.general -= G
qdel(G)

icon_state = "body_scanner_open"
set_light(0)

if(occupant.key)
Expand All @@ -378,6 +383,7 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li

QDEL_NULL(occupant)
stop_processing()
update_icon()

/obj/structure/machinery/cryopod/attackby(obj/item/W, mob/living/user)
if(isxeno(user))
Expand Down Expand Up @@ -495,12 +501,12 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
add_fingerprint(usr)


/obj/structure/machinery/cryopod/proc/go_in_cryopod(mob/mob, silent = FALSE)
/obj/structure/machinery/cryopod/proc/go_in_cryopod(mob/living/mob, silent = FALSE)
if(occupant)
return
mob.forceMove(src)
occupant = mob
icon_state = "body_scanner_closed"
update_icon()
set_light(2)
time_entered = world.time
start_processing()
Expand All @@ -523,7 +529,7 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
occupant.forceMove(get_turf(src))
occupant = null
stop_processing()
icon_state = "body_scanner_open"
update_icon()
set_light(0)
playsound(src, 'sound/machines/pod_open.ogg', 30)
SEND_SIGNAL(src, COMSIG_CRYOPOD_GO_OUT)
Expand All @@ -546,6 +552,54 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li

move_inside(target)

/obj/structure/machinery/cryopod/big
icon = 'icons/obj/structures/machinery/hypersleep.dmi'
icon_state = "hypersleep_base"
dir = EAST
var/image/occupant_image
var/occupant_angle = 270
var/occupant_dir = 4
var/occupant_x = 6
var/occupant_y = 0

/obj/structure/machinery/cryopod/big/Initialize()
. = ..()
var/cover_image = image(icon, icon_state = "cover_fog", layer = 3.22)
overlays += cover_image

/obj/structure/machinery/cryopod/big/update_icon()
return

/obj/structure/machinery/cryopod/big/go_in_cryopod(mob/living/mob, silent = FALSE)
..()
overlays.Cut()
occupant_image = image(mob.appearance, loc, layer = 3.21)
occupant_image.pixel_x = occupant_x
occupant_image.pixel_y = occupant_y
occupant_image.dir = occupant_dir
if(mob.body_position == STANDING_UP)
occupant_image.transform = occupant.transform.Turn(occupant_angle)
overlays += occupant_image
var/cover_image = image(icon, icon_state = "cover", layer = 3.22)
overlays += cover_image

/obj/structure/machinery/cryopod/big/go_out()
..()
overlays -= occupant_image
occupant_image = null

/obj/structure/machinery/cryopod/big/despawn_occupant()
..()
overlays.Cut()
occupant_image = null
var/cover_image = image(icon, icon_state = "cover_fog", layer = 3.22)
overlays += cover_image

/obj/structure/machinery/cryopod/big/flipped
dir = WEST
occupant_angle = 90
occupant_dir = 8
occupant_x = 10

/obj/structure/machinery/cryopod/tutorial
silent_exit = TRUE
Expand All @@ -558,7 +612,7 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
return
mob.forceMove(src)
occupant = mob
icon_state = "body_scanner_closed"
icon_state = "hypersleep_closed"
set_light(2)
time_entered = world.time
if(del_them)
Expand All @@ -571,7 +625,7 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
var/mob/living/carbon/human/man = occupant
man.species.handle_cryo(man)

icon_state = "body_scanner_open"
icon_state = "hypersleep_open"
set_light(0)


Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ Class Procs:
unslashable = TRUE
unacidable = TRUE
wrenchable = FALSE

/obj/structure/machinery/fuelpump/ex_act(severity)
return

Expand Down
37 changes: 33 additions & 4 deletions code/game/machinery/vending/vendor_types/food.dm
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
//------------CANTEEN MRE VENDOR---------------
/obj/structure/machinery/cm_vending/sorted/marine_food
name = "\improper ColMarTech Food Vendor"
desc = "USCM Food Vendor, containing standard military Prepared Meals."
icon_state = "marine_food"
hackable = TRUE
name = "\improper NestleCo AutoChef"
desc = "An autochef food dispenser, capable of distributing food containing all the essential vitamins and nutrients anyone could ever need. Inedible-looking sludge is passed through a variety of heaters, re-shapers, and solidifiers before being artificially flavored to create something that looks and tastes mostly edible."
icon = 'icons/obj/structures/machinery/vending_32x64.dmi'
icon_state = "food"
hackable = FALSE
unacidable = FALSE
unslashable = FALSE
wrenchable = TRUE
Expand Down Expand Up @@ -46,6 +47,34 @@
list("USCM Flask", 0, /obj/item/reagent_container/food/drinks/flask/marine, VENDOR_ITEM_REGULAR),
list("W-Y Flask", 0, /obj/item/reagent_container/food/drinks/flask/weylandyutani, VENDOR_ITEM_REGULAR)
)

//------------PVE CANTEEN FOOD VENDOR---------------
/obj/structure/machinery/cm_vending/sorted/pve_food
name = "\improper NestleCo AutoChef"
desc = "An autochef food dispenser, capable of distributing food containing all the essential vitamins and nutrients anyone could ever need. Inedible-looking sludge is passed through a variety of heaters, re-shapers, and solidifiers before being artificially flavored to create something that looks and tastes mostly edible."
icon = 'icons/obj/structures/machinery/vending_32x64.dmi'
icon_state = "food"
req_one_access = list()
listed_products = list()
hackable = FALSE
wrenchable = FALSE
vend_flags = VEND_CLUTTER_PROTECTION | VEND_LIMITED_INVENTORY | VEND_TO_HAND

/obj/structure/machinery/cm_vending/sorted/pve_food/get_listed_products(mob/user)
return GLOB.cm_vending_sorted_pve_food

GLOBAL_LIST_INIT(cm_vending_sorted_pve_food, list(
list("MAIN COURSE", 0, null, null, null),
list("NestleCo Vegi-Flavored NutriGo(TM)", 0, /obj/item/reagent_container/food/snacks/canteen/main/soylent/green, MARINE_CAN_BUY_MAIN),
list("NestleCo Meat-Flavored NutriGo(TM)", 0, /obj/item/reagent_container/food/snacks/canteen/main/soylent/red, MARINE_CAN_BUY_MAIN),
list("NestleCo Grain-Flavored NutriGo(TM)", 0, /obj/item/reagent_container/food/snacks/canteen/main/soylent/yellow, MARINE_CAN_BUY_MAIN),

list("SIDE DISH", 0, null, null, null),
list("NestleCo Vegi-Flavored NutriGo(TM)", 0, /obj/item/reagent_container/food/snacks/canteen/side/soylent/green, MARINE_CAN_BUY_SIDE),
list("NestleCo Meat-Flavored NutriGo(TM)", 0, /obj/item/reagent_container/food/snacks/canteen/side/soylent/red, MARINE_CAN_BUY_SIDE),
list("NestleCo Grain-Flavored NutriGo(TM)", 0, /obj/item/reagent_container/food/snacks/canteen/side/soylent/yellow, MARINE_CAN_BUY_SIDE),
))

//------------BOOZE-O-MAT VENDOR---------------

/obj/structure/machinery/cm_vending/sorted/boozeomat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,10 @@ GLOBAL_LIST_INIT(cm_vending_gear_medic, list(
//------------CLOTHING VENDOR---------------

GLOBAL_LIST_INIT(cm_vending_clothing_medic, list(
list("MEDICAL SET (MANDATORY)", 0, null, null, null),
list("Essential Medical Set", 0, /obj/effect/essentials_set/medic, MARINE_CAN_BUY_ESSENTIALS, VENDOR_ITEM_MANDATORY),
list("STANDARD EQUIPMENT (TAKE ALL)", 0, null, null, null),
list("Standard Marine Apparel", 0, list(/obj/item/clothing/under/marine/medic, /obj/item/clothing/shoes/marine/knife, /obj/item/clothing/gloves/marine, /obj/item/device/radio/headset/almayer/marine), MARINE_CAN_BUY_UNIFORM, VENDOR_ITEM_MANDATORY),
list("MRE", 0, /obj/item/storage/box/MRE, MARINE_CAN_BUY_MRE, VENDOR_ITEM_MANDATORY),


list("ARMOR (CHOOSE 1)", 0, null, null, null),
list("Light Armor", 0, /obj/item/clothing/suit/storage/marine/light, MARINE_CAN_BUY_ARMOR, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@
list("M276 G8-A General Utility Pouch", floor(scale * 15), /obj/item/storage/backpack/general_belt, VENDOR_ITEM_REGULAR),

list("POUCHES", -1, null, null, null),
list("First-Aid Pouch (Splints, Gauze, Ointment)", floor(scale * 15), /obj/item/storage/pouch/firstaid/full/alternate, VENDOR_ITEM_REGULAR),
list("First-Aid Pouch (Pill Packets)", floor(scale * 15), /obj/item/storage/pouch/firstaid/full/pills, VENDOR_ITEM_REGULAR),
list("First-Aid Pouch (Injectors)", floor(scale * 15), /obj/item/storage/pouch/firstaid/full, VENDOR_ITEM_REGULAR),
list("First-Aid Pouch", floor(scale * 15), /obj/item/storage/pouch/firstaid, VENDOR_ITEM_REGULAR),
list("Flare Pouch (Full)", floor(scale * 15), /obj/item/storage/pouch/flare/full, VENDOR_ITEM_REGULAR),
list("Magazine Pouch", floor(scale * 15), /obj/item/storage/pouch/magazine, VENDOR_ITEM_REGULAR),
list("Medium General Pouch", floor(scale * 15), /obj/item/storage/pouch/general/medium, VENDOR_ITEM_REGULAR),
Expand All @@ -154,7 +152,7 @@
list("RESTRICTED POUCHES", -1, null, null, null),
list("Construction Pouch", 1.25, /obj/item/storage/pouch/construction, VENDOR_ITEM_REGULAR),
list("Explosive Pouch", 1.25, /obj/item/storage/pouch/explosive, VENDOR_ITEM_REGULAR),
list("First Responder Pouch (Empty)", 2.5, /obj/item/storage/pouch/first_responder, VENDOR_ITEM_REGULAR),
list("First Responder Pouch", 2.5, /obj/item/storage/pouch/first_responder, VENDOR_ITEM_REGULAR),
list("Large Pistol Magazine Pouch", floor(scale * 2), /obj/item/storage/pouch/magazine/pistol/large, VENDOR_ITEM_REGULAR),
list("Tools Pouch", 1.25, /obj/item/storage/pouch/tools, VENDOR_ITEM_REGULAR),
list("Sling Pouch", 1.25, /obj/item/storage/pouch/sling, VENDOR_ITEM_REGULAR),
Expand Down Expand Up @@ -437,6 +435,13 @@
list("MRE", floor(scale * 5), /obj/item/storage/box/MRE, VENDOR_ITEM_REGULAR),
list("MRE Box", floor(scale * 1), /obj/item/ammo_box/magazine/misc/mre, VENDOR_ITEM_REGULAR),

list("MEDICAL", -1, null, null),
list("Gauze", round(scale * 15), /obj/item/stack/medical/bruise_pack, VENDOR_ITEM_REGULAR),
list("Ointment", round(scale * 15), /obj/item/stack/medical/ointment, VENDOR_ITEM_REGULAR),
list("Splints", round(scale * 15), /obj/item/stack/medical/splint, VENDOR_ITEM_REGULAR),
list("Tricordrazine Autoinjector", round(scale * 15), /obj/item/reagent_container/hypospray/autoinjector/tricord/skillless, VENDOR_ITEM_REGULAR),
list("Tramadol Injector", round(scale * 15), /obj/item/reagent_container/hypospray/autoinjector/tramadol/skillless, VENDOR_ITEM_REGULAR),

list("TOOLS", -1, null, null),
list("Entrenching Tool (ET)", round(scale * 2), /obj/item/tool/shovel/etool/folded, VENDOR_ITEM_REGULAR),
list("Screwdriver", round(scale * 5), /obj/item/tool/screwdriver, VENDOR_ITEM_REGULAR),
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/effects/spawners/spawner.dm
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/obj/effect/spawner
name = "object spawner"
icon = 'icons/landmarks.dmi'
10 changes: 10 additions & 0 deletions code/game/objects/items/reagent_containers/food/drinks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -388,3 +388,13 @@
desc = "A matte gray coffee mug bearing the Weyland-Yutani logo on its front. Either issued as corporate standard, or bought as a souvenir for people who love the Company oh so dearly. Probably the former."
icon_state = "wycup"

/obj/item/reagent_container/food/drinks/plasticcup
name = "plastic cup"
desc = "A decent sized plastic cup, perfect aboard starships for it's capacity to deal with careless handling by roughnecks."
icon_state = "plasticcup"

/obj/item/reagent_container/food/drinks/plasticcup/clear
name = "clear plastic cup"
desc = "A decent sized plastic cup, perfect aboard starships for it's capacity to deal with careless handling by roughnecks. This one is clear, allowing you to see the contents."
icon_state = "plasticcup"

Loading
Loading