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

БЛЯЯЯЯТЬ #39

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions maps/torch_fd/fd_torch.dm
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@
#include "../../mods/_fd/_maps/gccv_ulyanovsk/_ulyanovsk.dme"
#include "../../mods/_fd/_maps/dead_sea/_dead_sea.dme"

#include "../../mods/_fd/_maps/sfv_warspite/_warspite.dme"


// ~EXOPLANET RUINS~ //

Expand Down
11 changes: 11 additions & 0 deletions mods/_fd/_maps/sfv_warspite/_warspite.dme
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#ifndef MODPACK_WARSPITE
#define MODPACK_WARSPITE

#include "code/core.dm"

#include "code/npc.dm"
#include "code/lifepods.dm"
#include "code/shuttles.dm"


#endif
190 changes: 190 additions & 0 deletions mods/_fd/_maps/sfv_warspite/code/core.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
/datum/map_template/ruin/away_site/sfv_warspite
name = "SFV Warspite"
id = "awaysite_sfv_warspite"
description = "Flagman of Vice-Admiral of Third Fleet"
mappaths = list("mods/_fd/_maps/sfv_warspite/warspite.dmm")
area_usage_test_exempted_root_areas = list(/area/warspite)
spawn_cost = 1000
player_cost = 4
shuttles_to_initialise = list(
/datum/shuttle/autodock/overmap/sultan,
/datum/shuttle/autodock/overmap/lifepod,
/datum/shuttle/autodock/overmap/lifepod/two,
/datum/shuttle/autodock/overmap/lifepod/three,
/datum/shuttle/autodock/overmap/lifepod/four,
/datum/shuttle/autodock/overmap/lifepod/five,
/datum/shuttle/autodock/overmap/lifepod/six,
/datum/shuttle/autodock/ferry/wayspite,
/datum/shuttle/autodock/ferry/wayspite/engi
)

/obj/overmap/visitable/ship/sfv_warspite
name = "SFV Warspite"
desc = "A slow, but with a sharp bite, Resolution-Class flagship, that broadcasting SCG Fleet codes \"SFV Warspite, FLT-3-FLG-1\"."
// \"SFV Warspite, FLEET-THIRD-FLAGgroup-FIRST\"."
fore_dir = NORTH
vessel_mass = 1000000
burn_delay = 2 MINUTES
base_sensor_visibility = 65
icon = 'maps/event/placeholders/scg-64.dmi'
icon_state = "ec-komarov"
color = "#0751f3"
sector_flags = OVERMAP_SECTOR_KNOWN|OVERMAP_SECTOR_IN_SPACE
known_ships = list(
/obj/overmap/visitable/ship/landable/sultan,
/obj/overmap/visitable/ship/landable/lifepod,
/obj/overmap/visitable/ship/landable/lifepod/two,
/obj/overmap/visitable/ship/landable/lifepod/three,
/obj/overmap/visitable/ship/landable/lifepod/four,
/obj/overmap/visitable/ship/landable/lifepod/five,
/obj/overmap/visitable/ship/landable/lifepod/six
)
/* initial_restricted_waypoints = list(
"Sultan Landing Zone" = list("nav_sultan_start"),
"Lifepod One Landing Zone" = list("nav_lifepod_one_start"),
"Lifepod Two Landing Zone" = list("nav_lifepod_two_start"),
"Lifepod Three Landing Zone" = list("nav_lifepod_three_start"),
"Lifepod Four Landing Zone" = list("nav_lifepod_four_start"),
"Lifepod Five Landing Zone" = list("nav_lifepod_five_start"),
"Lifepod Six Landing Zone" = list("nav_lifepod_six_start")
)
*/

/area/warspite
name = "Warspite"
icon_state = "yellow"
area_flags = AREA_FLAG_RAD_SHIELDED | AREA_FLAG_ION_SHIELDED

/area/warspite/bridge
name = "Warspite - Bridge"

/area/warspite/hallway
name = "Warspite - Bridge Hallway"
icon_state = "yellow"

/area/warspite/conference
name = "Warspite - Conference Room"

// Hangar \\

/area/warspite/hangar
name = "Warspite - Hangar"
icon_state = "green"

/area/warspite/hangar/hallway
name = "Warspite - Hangar Hallway"

/area/warspite/hangar/lifepod
name = "Warspite - Lifepod West"

/area/warspite/hangar/lifepod/east
name = "Warspite - Lifepod East"

/area/warspite/hangar/ladder
name = "Warspite - Hangar Ladder"

/area/warspite/hangar/engi
name = "Warspite - Substance"

// BRIG \\

/area/warspite/brig
name = "Warspite - Main room"
icon_state = "red"

/area/warspite/brig/barrack
name = "Warspite - Barracks"

/area/warspite/brig/kitchen
name = "Warspite - Kitchen"

/area/warspite/brig/fitness
name = "Warspite - Fitness"

/area/warspite/brig/head
name = "Warspite - Head"

// Engi \\

/area/warspite/engibay
name = "Warspite - EngiBay"
icon_state = "yellow"

/area/warspite/engibay/hallway
name = "Warspite - EngiBay Hallway"

/area/warspite/engibay/control
name = "Warspite - ControlRoom"

/area/warspite/engibay/ladder
name = "Warspite - Ladders to Bridge"

/area/warspite/techrooms
name = "Warspite - Maintence"

/turf/unsimulated/floor/plating/void
color = COLOR_BLACK
density = 1

/datum/shuttle/autodock/ferry/lift/wayspite
name = "Bridge to Hangar Deck"
shuttle_area = /area/ship/scrap/shuttle/lift
warmup_time = 3 //give those below some time to get out of the way
waypoint_station = "nav_bearcat_lift_bottom"
waypoint_offsite = "nav_bearcat_lift_top"
sound_takeoff = 'sound/effects/lift_heavy_start.ogg'
sound_landing = 'sound/effects/lift_heavy_stop.ogg'
ceiling_type = null
knockdown = 0
defer_initialisation = TRUE

/datum/shuttle/autodock/ferry/wayspite/engi
name = "Bridge to Engineering Deck"
shuttle_area = /area/ship/scrap/shuttle/lift
waypoint_station = "nav_bearcat_lift_bottom"
waypoint_offsite = "nav_bearcat_lift_top"
sound_takeoff = 'sound/effects/lift_heavy_start.ogg'
sound_landing = 'sound/effects/lift_heavy_stop.ogg'

/obj/machinery/computer/shuttle_control/lift/bridge2hangar
icon = 'icons/obj/structures/turbolift.dmi'
shuttle_tag = "Bridge to Hangar Deck"
icon_state = "panel"

/obj/machinery/computer/shuttle_control/lift/bridge2engi
icon = 'icons/obj/structures/turbolift.dmi'
shuttle_tag = "Bridge to Engineering Deck"
icon_state = "panel"


/obj/shuttle_landmark/lift/wayspite/hangar/bridge
name = "Bridge Deck"
landmark_tag = "nav_wayspite_lift_hangar_bridge"
flags = SLANDMARK_FLAG_AUTOSET
base_area = /area/warspite/hallway
base_turf = /turf/unsimulated/floor/plating/void

/obj/shuttle_landmark/lift/wayspite/hangar
name = "Hangar Deck"
landmark_tag = "nav_wayspite_lift_hangar"
base_area = /area/warspite/hangar
base_turf = /turf/simulated/floor/plating

/area/wayspite/lift
name = "Warspite | Elevator - Bridge2Hangar"

/area/wayspite/lift/engi
name = "Warspite | Elevator - Bridge2Engi"

/obj/shuttle_landmark/lift/wayspite/engi/bridge
name = "Bridge Deck"
landmark_tag = "nav_wayspite_lift_engi_bridge"
base_area = /area/warspite/hallway
base_turf = /turf/unsimulated/floor/plating/void

/obj/shuttle_landmark/lift/wayspite/hangar
name = "Engineer Deck"
landmark_tag = "nav_wayspite_lift_engi"
flags = SLANDMARK_FLAG_AUTOSET
base_area = /area/warspite/engibay
base_turf = /turf/simulated/floor/plating
137 changes: 137 additions & 0 deletions mods/_fd/_maps/sfv_warspite/code/lifepods.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
/area/warspite/lifepod
name = "Warspite | Lifepod One"
icon_state = "yellow"

/area/warspite/lifepod/two
name = "Warspite | Lifepod Two"

/area/warspite/lifepod/three
name = "Warspite | Lifepod Three"

/area/warspite/lifepod/four
name = "Warspite | Lifepod Four"

/area/warspite/lifepod/five
name = "Warspite | Lifepod Five"

/area/warspite/lifepod/six
name = "Warspite | Lifepod Six"

/obj/shuttle_landmark/lifepod
name = "Lifepod One Landing Zone"
landmark_tag = "nav_lifepod_one_start"
movable_flags = MOVABLE_FLAG_EFFECTMOVE

/obj/shuttle_landmark/lifepod/two
name = "Lifepod Two Landing Zone"
landmark_tag = "nav_lifepod_two_start"

/obj/shuttle_landmark/lifepod/three
name = "Lifepod Three Landing Zone"
landmark_tag = "nav_lifepod_three_start"

/obj/shuttle_landmark/lifepod/four
name = "Lifepod Four Landing Zone"
landmark_tag = "nav_lifepod_four_start"

/obj/shuttle_landmark/lifepod/five
name = "Lifepod Five Landing Zone"
landmark_tag = "nav_lifepod_five_start"

/obj/shuttle_landmark/lifepod/six
name = "Lifepod Six Landing Zone"
landmark_tag = "nav_lifepod_six_start"

/obj/overmap/visitable/ship/landable/lifepod
name = "Lifepod One"
shuttle = "lifepod_one"
desc = "Wake signature indicates a small lifepod, broadcasting emergency codes ."
fore_dir = NORTH
color = "#0751f3"
alpha = 255
// integrity_failure_cap = 150
skill_needed = SKILL_UNSKILLED
vessel_mass = 1800
vessel_size = SHIP_SIZE_TINY
max_speed = 1/(20 SECONDS) // 5 GM/H.
burn_delay = 5 SECONDS
hide_from_reports = TRUE
// known = 0

/datum/shuttle/autodock/overmap/lifepod
name = "lifepod_one"
warmup_time = 10 SECONDS
range = 0
shuttle_area = list(
/area/warspite/lifepod
)
defer_initialisation = TRUE
skill_needed = SKILL_UNSKILLED
ceiling_type = /turf/simulated/floor/reinforced
current_location = "nav_lifepod_one_start"

/obj/overmap/visitable/ship/landable/lifepod/two
name = "Lifepod Two"
shuttle = "lifepod_two"
fore_dir = WEST

/datum/shuttle/autodock/overmap/lifepod/two
name = "lifepod_two"
shuttle_area = list(
/area/warspite/lifepod/two
)
current_location = "nav_lifepod_two_start"


/obj/overmap/visitable/ship/landable/lifepod/three
name = "Lifepod Three"
shuttle = "lifepod_three"
fore_dir = SOUTH
// known = 0


/datum/shuttle/autodock/overmap/lifepod/three
name = "lifepod_three"
shuttle_area = list(
/area/warspite/lifepod/three
)
current_location = "nav_lifepod_three_start"


/obj/overmap/visitable/ship/landable/lifepod/four
name = "Lifepod Four"
shuttle = "lifepod_four"
fore_dir = NORTH

/datum/shuttle/autodock/overmap/lifepod/four
name = "lifepod_four"
shuttle_area = list(
/area/warspite/lifepod/four
)
current_location = "nav_lifepod_four_start"


/obj/overmap/visitable/ship/landable/lifepod/five
name = "Lifepod Five"
shuttle = "lifepod_five"
fore_dir = EAST

/datum/shuttle/autodock/overmap/lifepod/five
name = "lifepod_five"
shuttle_area = list(
/area/warspite/lifepod/five
)
current_location = "nav_lifepod_five_start"


/obj/overmap/visitable/ship/landable/lifepod/six
name = "Lifepod Six"
shuttle = "lifepod_six"
fore_dir = SOUTH

/datum/shuttle/autodock/overmap/lifepod/six
name = "lifepod_six"
shuttle_area = list(
/area/warspite/lifepod/six
)
current_location = "nav_lifepod_six_start"
Loading