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

[MBD IGNORE] LV-295 Corporate Blacksite #600

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions code/__DEFINES/__game.dm
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#define MAP_NEW_VARADERO_REPAIRED "New Varadero Repaired"
#define MAP_CHINOOK "Chinook 91 GSO" //admin level
#define MAP_DERELICT_ALMAYER "Derelict Almayer"
#define MAP_LV295_BLACKSITE "LV295 Blacksite"

#define GAMEMODE_WHISKEY_OUTPOST "Whiskey Outpost"
#define GAMEMODE_HIVE_WARS "Hive Wars"
Expand Down
12 changes: 12 additions & 0 deletions code/datums/weather/weather_events/lv285_blacksite.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/datum/weather_event/blizzard/lv_295
name = "Heavy Blizzard"
display_name = "Heavy Blizzard"
length = 3 HOURS
turf_overlay_icon_state = "strata_blizzard"

effect_message = "You feel the winds of the blizzard sap all the warmth from your body!"
damage_per_tick = 0.35

ambience = 'sound/ambience/strata/strata_blizzard.ogg'

fire_smothering_strength = 6
19 changes: 19 additions & 0 deletions code/datums/weather/weather_map_holders/lv295_blacksite.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/datum/weather_ss_map_holder/lv295_blacksite
name = "LV-295 Map Holder"

warn_time = 1 MINUTES
min_time_between_events = 1 MINUTES
min_time_between_checks = 0
min_check_variance = 0

no_weather_turf_icon_state = "strata_clearsky"

potential_weather_events = list(
/datum/weather_event/blizzard/lv_295,
)

/datum/weather_ss_map_holder/lv295_blacksite/should_affect_area(area/A)
return !CEILING_IS_PROTECTED(A.ceiling, CEILING_GLASS)

/datum/weather_ss_map_holder/lv295_blacksite/should_start_event()
return TRUE
90 changes: 90 additions & 0 deletions code/game/area/LV295_Blacksite.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
//lv295 AREAS--------------------------------------//

/area/lv295
icon_state = "lv-626"
can_build_special = TRUE
powernet_name = "ground"
minimap_color = MINIMAP_AREA_COLONY

//parent types

/area/lv295/indoors
name = "LV295 - Indoors"
icon_state = "cliff_blocked" //because this is a PARENT TYPE and you should not be using it and should also be changing the icon!!!
ceiling = CEILING_DEEP_UNDERGROUND_METAL
soundscape_playlist = AMBIENCE_SHIP


/area/lv295/outdoors
name = "LV295 - Outdoors"
icon_state = "cliff_blocked" //because this is a PARENT TYPE and you should not be using it and should also be changing the icon!!!
ceiling = CEILING_NONE
soundscape_playlist = SCAPE_PL_WIND

/area/lv295/oob
name = "LV295 - Out Of Bounds"
icon_state = "unknown"
ceiling = CEILING_MAX
is_resin_allowed = FALSE
flags_area = AREA_NOTUNNEL


//Landing Zones

/area/lv295/landing_zone_1
name = "LV295 - Landing Zone One"
icon_state = "explored"
is_landing_zone = TRUE
minimap_color = MINIMAP_AREA_LZ

/area/lv295/landing_zone_2
name = "LV295 - Landing Zone Two"
icon_state = "explored"
is_landing_zone = TRUE
minimap_color = MINIMAP_AREA_LZ

//Outdoors

/area/lv295/outdoors/compound
name = "LV295 - Exterior Compound"
icon_state = "red"
requires_power = FALSE

/area/lv295/outdoors/barrens
name = "LV295 - Outdoors"
icon_state = "blue"
requires_power = FALSE

//Maint

/area/lv295/indoors/maint
name = "LV295 - Facility Maintenance"
icon_state = "yellow"
requires_power = FALSE

//Lab

/area/lv295/indoors/surface_lab
name = "LV295 - Surface Facility"
icon_state = "green"
ceiling = CEILING_METAL

/area/lv295/indoors/sublevel_1
name = "LV295 - Sublevel 1"
icon_state = "yellow"
minimap_color = MINIMAP_AREA_ENGI

/area/lv295/indoors/sublevel_2
name = "LV295 - Sublevel 2"
icon_state = "yellow"
minimap_color = MINIMAP_AREA_COMMAND

/area/lv295/indoors/sublevel_3
name = "LV295 - Sublevel 3"
icon_state = "mechbay"
minimap_color = MINIMAP_AREA_SEC

/area/lv295/indoors/sublevel_4
name = "LV295 - Sublevel 4"
icon_state = "toxlab"
minimap_color = MINIMAP_AREA_MEDBAY
1 change: 1 addition & 0 deletions code/modules/cm_marines/equipment/maps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ GLOBAL_LIST_INIT_TYPED(map_type_list, /obj/item/map, setup_all_maps())
MAP_NEW_VARADERO = new /obj/item/map/new_varadero(),
MAP_NEW_VARADERO_REPAIRED = new /obj/item/map/new_varadero(),
MAP_DERELICT_ALMAYER = new /obj/item/map/almayer(),
MAP_LV295_BLACKSITE = new /obj/item/map/lv522_map()
)

//used by marine equipment machines to spawn the correct map.
Expand Down
3 changes: 3 additions & 0 deletions colonialmarines.dme
Original file line number Diff line number Diff line change
Expand Up @@ -724,12 +724,14 @@
#include "code\datums\weather\weather_events\big_red.dm"
#include "code\datums\weather\weather_events\faction_clash.dm"
#include "code\datums\weather\weather_events\long.dm"
#include "code\datums\weather\weather_events\lv285_blacksite.dm"
#include "code\datums\weather\weather_events\lv522_chances_claim.dm"
#include "code\datums\weather\weather_events\lv624.dm"
#include "code\datums\weather\weather_events\new_varadero.dm"
#include "code\datums\weather\weather_events\sorokyne.dm"
#include "code\datums\weather\weather_map_holders\big_red.dm"
#include "code\datums\weather\weather_map_holders\faction_clash.dm"
#include "code\datums\weather\weather_map_holders\lv295_blacksite.dm"
#include "code\datums\weather\weather_map_holders\lv522_chances_claim.dm"
#include "code\datums\weather\weather_map_holders\lv624.dm"
#include "code\datums\weather\weather_map_holders\new_varadero.dm"
Expand Down Expand Up @@ -770,6 +772,7 @@
#include "code\game\area\golden_arrow.dm"
#include "code\game\area\IceColony.dm"
#include "code\game\area\kutjevo.dm"
#include "code\game\area\LV295_Blacksite.dm"
#include "code\game\area\LV522_Chances_Claim.dm"
#include "code\game\area\LV624.dm"
#include "code\game\area\prison.dm"
Expand Down
3 changes: 3 additions & 0 deletions map_config/maps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ endmap

map whiskey_outpost_v2
endmap

map LV295_Blacksite
endmap
11 changes: 11 additions & 0 deletions maps/lv295_blacksite.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"map_name": "LV295 Blacksite",
"short_name": "LV295 Blacksite",
"map_path": "map_files/LV295_Blacksite",
"map_file": "LV295_Blacksite.dmm",
"webmap_url": "LV552",
"map_item_type": "/obj/item/map/lv522_map",
"weather_holder": "/datum/weather_ss_map_holder/lv295_blacksite",

"camouflage": "snow"
}
Loading
Loading