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

removes dropship test #399

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
cd5fdc2
Movie APC Mk2
DexterDude Mar 25, 2024
e9d26c6
fixes space indentations oopsie :3
DexterDude Mar 25, 2024
3a6fb85
oops
DexterDude Mar 25, 2024
55fe106
Merge branch 'master' of https://github.com/DexterDude/PvE-CMSS13
DexterDude Mar 25, 2024
791a81a
Update seats.dm
AndroBetel Mar 26, 2024
da3e318
fixes copy paste hero moment
DexterDude Mar 26, 2024
4c9a642
Merge branch 'PvE-CMSS13:master' into master
DexterDude Mar 27, 2024
da7fa58
Merge branch 'PvE-CMSS13:master' into master
DexterDude Apr 17, 2024
5ec49b4
Merge branch 'master' of https://github.com/DexterDude/PvE-CMSS13
DexterDude Apr 19, 2024
dbd7137
Merge branch 'master' of https://github.com/DexterDude/PvE-CMSS13
DexterDude Apr 26, 2024
4685744
Merge branch 'PvE-CMSS13:master' into master
DexterDude May 20, 2024
c607f0b
Merge branch 'PvE-CMSS13:master' into master
DexterDude Jun 7, 2024
e369af4
Merge branch 'cmss13-devs:master' into master
DexterDude Aug 18, 2024
5fcb89d
more dorpship
DexterDude Jul 23, 2024
200221d
changes
DexterDude Aug 17, 2024
09e8a4c
stuff
DexterDude Aug 18, 2024
369f4c9
f
DexterDude Aug 18, 2024
cfcf01d
chane
DexterDude Aug 18, 2024
b6abbd4
www
DexterDude Aug 18, 2024
b20ea10
w
DexterDude Aug 18, 2024
a4568d6
fuck off
DexterDude Aug 18, 2024
fa9ae4a
Update colonialmarines.dme
DexterDude Aug 18, 2024
b941cfe
fix shit
DexterDude Aug 20, 2024
2c67900
reverts a fuck up
DexterDude Aug 20, 2024
46ceee2
kills greenway
DexterDude Aug 20, 2024
d05b6fb
adds blockers
DexterDude Aug 20, 2024
6354710
fix
DexterDude Aug 20, 2024
11d83c4
fixes noob couptier failmax
DexterDude Aug 20, 2024
3e87163
Delete shuttle_size.dmm
DexterDude Aug 20, 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
4 changes: 4 additions & 0 deletions code/__DEFINES/camera.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
#define CAMERA_NET_ALAMO "Alamo"
#define CAMERA_NET_NORMANDY "Normandy"
#define CAMERA_NET_MIDWAY "Midway"
#define CAMERA_NET_CYCLONE "Cyclone"
#define CAMERA_NET_TORNADO "Tornado"
#define CAMERA_NET_TYPHOON "Typhoon"
#define CAMERA_NET_TRIPOLI "Tripoli"
#define CAMERA_NET_COLONY "Colony"
#define CAMERA_NET_ARES "ARES"

Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/shuttles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
#define DROPSHIP_NORMANDY "dropship_normandy"
#define DROPSHIP_UPP "dropship_upp"
#define DROPSHIP_CYCLONE "dropship_cyclone"
#define DROPSHIP_TORNADO "dropship_tornado"
#define DROPSHIP_TYPHOON "dropship_typhoon"
#define DROPSHIP_TRIPOLI "dropship_tripoli"

#define ALMAYER_DROPSHIP_LZ1 "almayer-hangar-lz1"
#define ALMAYER_DROPSHIP_LZ2 "almayer-hangar-lz2"
Expand Down
41 changes: 41 additions & 0 deletions code/game/area/Sulaco.dm
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,47 @@
return TRUE


/area/shuttle/tornado
name = "command dropship Tornado"
icon_state = "shuttlered"
base_muffle = MUFFLE_HIGH
soundscape_interval = 30
is_landing_zone = TRUE
ceiling = CEILING_REINFORCED_METAL

/area/shuttle/tornado/Enter(atom/movable/O, atom/oldloc)
if(istype(O, /obj/structure/barricade))
return FALSE
return TRUE

/area/shuttle/typhoon
name = "heavy-lift dropship Typhoon"
icon_state = "shuttlered"
base_muffle = MUFFLE_HIGH
soundscape_interval = 30
is_landing_zone = TRUE
ceiling = CEILING_REINFORCED_METAL

/area/shuttle/typhoon/Enter(atom/movable/O, atom/oldloc)
if(istype(O, /obj/structure/barricade))
return FALSE
return TRUE

/area/shuttle/tripoli
name = "dropship Tripoli"
icon_state = "shuttlered"
base_muffle = MUFFLE_HIGH
soundscape_interval = 30
is_landing_zone = TRUE
ceiling = CEILING_REINFORCED_METAL

/area/shuttle/tripoli/Enter(atom/movable/O, atom/oldloc)
if(istype(O, /obj/structure/barricade))
return FALSE
return TRUE



//DISTRESS SHUTTLES

/area/shuttle/distress
Expand Down
12 changes: 12 additions & 0 deletions code/game/machinery/camera/presets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,18 @@
/obj/structure/machinery/camera/autoname/golden_arrow/midway
network = list(CAMERA_NET_GOLDEN_ARROW, CAMERA_NET_MIDWAY)

/obj/structure/machinery/camera/autoname/golden_arrow/cyclone
network = list(CAMERA_NET_GOLDEN_ARROW, CAMERA_NET_CYCLONE)

/obj/structure/machinery/camera/autoname/golden_arrow/tornado
network = list(CAMERA_NET_GOLDEN_ARROW, CAMERA_NET_TORNADO)

/obj/structure/machinery/camera/autoname/golden_arrow/typhoon
network = list(CAMERA_NET_GOLDEN_ARROW, CAMERA_NET_TYPHOON)

/obj/structure/machinery/camera/autoname/golden_arrow/tripoli
network = list(CAMERA_NET_GOLDEN_ARROW, CAMERA_NET_TRIPOLI)

//used by the landing camera dropship equipment. Do not place them right under where the dropship lands.
//Should place them near each corner of your LZs.
/obj/structure/machinery/camera/autoname/lz_camera
Expand Down
16 changes: 16 additions & 0 deletions code/game/machinery/computer/camera_console.dm
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,20 @@
name = "\improper 'Midway' camera controls"
network = list(CAMERA_NET_MIDWAY, CAMERA_NET_LASER_TARGETS)

/obj/structure/machinery/computer/cameras/dropship/cyclone
name = "\improper 'Cyclone' camera controls"
network = list(CAMERA_NET_CYCLONE, CAMERA_NET_LASER_TARGETS)

/obj/structure/machinery/computer/cameras/dropship/tornado
name = "\improper 'Tornado' camera controls"
network = list(CAMERA_NET_TORNADO, CAMERA_NET_LASER_TARGETS)

/obj/structure/machinery/computer/cameras/dropship/typhoon
name = "\improper 'Typhoon' camera controls"
network = list(CAMERA_NET_TYPHOON, CAMERA_NET_LASER_TARGETS)

/obj/structure/machinery/computer/cameras/dropship/tripoli
name = "\improper 'Tripoli' camera controls"
network = list(CAMERA_NET_TRIPOLI, CAMERA_NET_LASER_TARGETS)

#undef DEFAULT_MAP_SIZE
57 changes: 57 additions & 0 deletions code/game/machinery/computer/dropship_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,63 @@
firemission_envelope = new /datum/cas_fire_envelope/uscm_dropship()
shuttle_tag = DROPSHIP_MIDWAY

/obj/structure/machinery/computer/dropship_weapons/midway/small
icon = 'icons/obj/structures/machinery/computer.dmi'
icon_state = "cameras"
density = FALSE

/obj/structure/machinery/computer/dropship_weapons/cyclone
name = "\improper 'Cyclone' weapons controls"
req_one_access = list(ACCESS_MARINE_LEADER, ACCESS_MARINE_DROPSHIP, ACCESS_WY_FLIGHT)
firemission_envelope = new /datum/cas_fire_envelope/uscm_dropship()
shuttle_tag = DROPSHIP_CYCLONE

/obj/structure/machinery/computer/dropship_weapons/cyclone/small
icon = 'icons/obj/structures/machinery/computer.dmi'
icon_state = "cameras"
density = FALSE

/obj/structure/machinery/computer/dropship_weapons/tornado
name = "\improper 'Tornado' weapons controls"
req_one_access = list(ACCESS_MARINE_LEADER, ACCESS_MARINE_DROPSHIP, ACCESS_WY_FLIGHT)
firemission_envelope = new /datum/cas_fire_envelope/uscm_dropship()
shuttle_tag = DROPSHIP_TORNADO

/obj/structure/machinery/computer/dropship_weapons/tornado/small
icon = 'icons/obj/structures/machinery/computer.dmi'
icon_state = "cameras"
density = FALSE

/obj/structure/machinery/computer/dropship_weapons/typhoon
name = "\improper 'Typhoon' weapons controls"
req_one_access = list(ACCESS_MARINE_LEADER, ACCESS_MARINE_DROPSHIP, ACCESS_WY_FLIGHT)
firemission_envelope = new /datum/cas_fire_envelope/uscm_dropship()
shuttle_tag = DROPSHIP_TYPHOON

/obj/structure/machinery/computer/dropship_weapons/typhoon/small
icon = 'icons/obj/structures/machinery/computer.dmi'
icon_state = "cameras"
density = FALSE

/obj/structure/machinery/computer/dropship_weapons/tripoli
name = "\improper 'Tripoli' weapons controls"
req_one_access = list(ACCESS_MARINE_LEADER, ACCESS_MARINE_DROPSHIP, ACCESS_WY_FLIGHT)
firemission_envelope = new /datum/cas_fire_envelope/uscm_dropship()
shuttle_tag = DROPSHIP_TRIPOLI

/obj/structure/machinery/computer/dropship_weapons/tripoli/small
icon = 'icons/obj/structures/machinery/computer.dmi'
icon_state = "cameras"
density = FALSE

/obj/structure/machinery/computer/dropship_weapons/dropship1
name = "\improper 'Alamo' weapons controls"
shuttle_tag = DROPSHIP_ALAMO

/obj/structure/machinery/computer/dropship_weapons/dropship2
name = "\improper 'Normandy' weapons controls"
shuttle_tag = DROPSHIP_NORMANDY

/obj/structure/machinery/computer/dropship_weapons/Destroy()
. = ..()
QDEL_NULL(firemission_envelope)
Expand Down
3 changes: 3 additions & 0 deletions code/game/machinery/doors/airlock_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,9 @@
/obj/structure/machinery/door/airlock/hatch/cockpit/two
icon = 'icons/obj/structures/doors/dropship2_pilot.dmi'

/obj/structure/machinery/door/airlock/hatch/cockpit/four
icon = 'icons/obj/structures/doors/dropship4_pilot.dmi'

/obj/structure/machinery/door/airlock/hatch/cockpit/upp
icon = 'icons/obj/structures/doors/dropshipupp_pilot.dmi'

Expand Down
4 changes: 4 additions & 0 deletions code/game/machinery/doors/multi_tile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@
name = "\improper Normandy cargo door"
icon = 'icons/obj/structures/doors/dropship2_cargo.dmi'

/obj/structure/machinery/door/airlock/multi_tile/almayer/dropshiprear/ds4
name = "\improper Midway cargo door"
icon = 'icons/obj/structures/doors/dropship4_cargo.dmi'

/obj/structure/machinery/door/airlock/multi_tile/almayer/dropshiprear/dropshipside
width = 2

Expand Down
23 changes: 22 additions & 1 deletion code/game/objects/items/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
name = "dual purpose rappel-fulton harness"
desc = "A fulton Surface To Air Recovery System (STARS). Special latch/hook assembly allows for aircraft on flyby equipped with a rappel system to pick up the attached item or person. The complex assembly of venlar rigging and secured buckles takes some time to set up though."
icon_state = "rappel_harness_adv"
var/shuttle_id = DROPSHIP_MIDWAY
var/shuttle_id
actions_types = list(/datum/action/item_action/STARS)

/obj/item/rappel_harness/extract/proc/try_extract(mob/living/carbon/human/user)
Expand Down Expand Up @@ -403,3 +403,24 @@
return

harness.try_extract(H)

/obj/item/rappel_harness/extract/midway
shuttle_id = DROPSHIP_MIDWAY

/obj/item/rappel_harness/extract/cyclone
shuttle_id = DROPSHIP_CYCLONE

/obj/item/rappel_harness/extract/typhoon
shuttle_id = DROPSHIP_TYPHOON

/obj/item/rappel_harness/extract/tornado
shuttle_id = DROPSHIP_TORNADO

/obj/item/rappel_harness/extract/tripoli
shuttle_id = DROPSHIP_TRIPOLI

/obj/item/rappel_harness/extract/alamo
shuttle_id = DROPSHIP_ALAMO

/obj/item/rappel_harness/extract/normandy
shuttle_id = DROPSHIP_NORMANDY
9 changes: 8 additions & 1 deletion code/game/objects/structures/stool_bed_chair_nest/chairs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,13 @@
/obj/structure/bed/chair/dropship/passenger/shuttle_chair
icon_state = "hotseat"

/obj/structure/bed/chair/dropship/passenger/folded

/obj/structure/bed/chair/dropship/passenger/folded/Initialize()
. = ..()
fold_down()


/obj/structure/bed/chair/dropship/passenger/BlockedPassDirs(atom/movable/mover, target_dir, height = 0, air_group = 0)
if(chair_state == DROPSHIP_CHAIR_UNFOLDED && istype(mover, /obj/vehicle/multitile) && !is_animating)
visible_message(SPAN_DANGER("[mover] slams into [src] and breaks it!"))
Expand Down Expand Up @@ -413,7 +420,7 @@
chair_state = DROPSHIP_CHAIR_BROKEN
else
chair_state = DROPSHIP_CHAIR_FOLDED
addtimer(VARSET_CALLBACK(src, icon_state, "hotseat_new_folded"), 5) // animation length
addtimer(VARSET_CALLBACK(src, icon_state, "hotseat_new_folded"), 22) // animation length

/obj/structure/bed/chair/dropship/passenger/shuttle_chair/fold_down(break_it = 1)
if(chair_state == DROPSHIP_CHAIR_UNFOLDED)
Expand Down
26 changes: 25 additions & 1 deletion code/game/turfs/closed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@

/turf/closed/shuttle/midway
name = "\improper Midway"
icon = 'icons/turf/dropship.dmi'
icon = 'icons/turf/dropship4.dmi'
icon_state = "1"

/turf/closed/shuttle/midway/transparent
Expand All @@ -290,6 +290,30 @@
/turf/closed/shuttle/cyclone/transparent
opacity = FALSE

/turf/closed/shuttle/typhoon
name = "\improper Typhoon"
icon = 'icons/turf/dropship3.dmi'
icon_state = "1"

/turf/closed/shuttle/typhoon/transparent
opacity = FALSE

/turf/closed/shuttle/tornado
name = "\improper Tornado"
icon = 'icons/turf/dropship3.dmi'
icon_state = "1"

/turf/closed/shuttle/tornado/transparent
opacity = FALSE

/turf/closed/shuttle/tripoli
name = "\improper Tripoli"
icon = 'icons/turf/dropship.dmi'
icon_state = "1"

/turf/closed/shuttle/tripoli/transparent
opacity = FALSE

/turf/closed/shuttle/twe_dropship
name = "\improper UD4-UK"
icon = 'icons/turf/twedropship.dmi'
Expand Down
12 changes: 12 additions & 0 deletions code/game/turfs/transit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,18 @@
shuttle_tag = DROPSHIP_CYCLONE
dir = SOUTH

/turf/open/space/transit/dropship/tornado
shuttle_tag = DROPSHIP_TORNADO
dir = SOUTH

/turf/open/space/transit/dropship/typhoon
shuttle_tag = DROPSHIP_TYPHOON
dir = SOUTH

/turf/open/space/transit/dropship/tripoli
shuttle_tag = DROPSHIP_TRIPOLI
dir = SOUTH

/turf/open/space/transit/south
dir = SOUTH

Expand Down
2 changes: 2 additions & 0 deletions code/modules/cm_marines/overwatch.dm
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,8 @@
icon_state = "toc"
bound_width = 64
bound_height = 32
layer = ABOVE_TABLE_LAYER
density = TRUE

/obj/structure/supply_drop
name = "Supply Drop Pad"
Expand Down
4 changes: 4 additions & 0 deletions code/modules/cm_phone/phone_base.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,7 @@
name = "rotary telephone"
icon_state = "rotary_phone"
desc = "The finger plate is a little stiff."

/obj/structure/phone_base/toc
name = "telephone receiver"
icon = 'icons/obj/vehicles/interiors/movie.dmi'
13 changes: 11 additions & 2 deletions code/modules/cm_tech/implements/railgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ GLOBAL_DATUM(railgun_eye_location, /datum/coords)
desc = "The younger sister to the railgun, this one is way weaker, however, it fires significantly faster. The higher your altitude, the faster your reload, and slower the shots hit."
max_ammo = 100
ammo = 100
ammo_recharge_time = 1 SECONDS
ammo_recharge_time = 2 SECONDS
fire_cooldown = 0.1 SECONDS
ammo_delay = 3 SECONDS
power = 50
Expand All @@ -293,13 +293,14 @@ GLOBAL_DATUM(railgun_eye_location, /datum/coords)
desc = "An Orbital cannon with a very long recharge time. The higher your altitude, the faster your reload, and slower the shots hit."
max_ammo = 1
ammo = 1
ammo_recharge_time = 1 SECONDS
ammo_recharge_time = 5 SECONDS
fire_cooldown = 10 MINUTES //So you know how long it takes betweenS
ammo_delay = 30 SECONDS
power = 1500
range = 15
warning_color = "#ff0000"


/obj/structure/machinery/computer/railgun/napalm
name = "orbital napalm computer"
desc = "An Orbital cannon with a very long recharge time. The higher your altitude, the faster your reload, and slower the shots hit."
Expand All @@ -317,3 +318,11 @@ GLOBAL_DATUM(railgun_eye_location, /datum/coords)
firer.images -= to_remove
playsound(T, 'sound/machines/railgun/railgun_impact.ogg', sound_range = 75)
INVOKE_ASYNC(GLOBAL_PROC, GLOBAL_PROC_REF(flame_radius), create_cause_data("railgun", firer.mob), 5, T, BURN_TIME_TIER_5 + 5, BURN_LEVEL_TIER_2, FLAMESHAPE_DEFAULT, FIRE_VARIANT_TYPE_B)

/obj/structure/machinery/computer/railgun/toc
name = "railgun computer screen"
icon_state = "toc_railgun"

/obj/structure/machinery/computer/railgun/gatling/toc
name = "gatling-gun computer screen"
icon_state = "toc_railcannon"
Loading
Loading