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

Add: Awaymission - snowdwin #1659

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
76,728 changes: 76,728 additions & 0 deletions _maps/map_files220/RandomZLevels/snowdwin.dmm

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions modular_ss220/maps220/code/RandomRuins/gateway/gateway_areas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -799,3 +799,23 @@
/area/awaymission/space_battle/sec_storage
name = "\improper Turret Room"
icon_state = "awaycontent10"

// MARK: Snowdwin
/area/awaymission/snowdwin
name = "\improper Snowdwin"
icon_state = "awaycontent1"
requires_power = TRUE
report_alerts = FALSE
dynamic_lighting = DYNAMIC_LIGHTING_FORCED

/area/awaymission/snowdwin/test1
name = "\improper Hallway"
icon_state = "awaycontent23"

/area/awaymission/snowdwin/test2
name = "\improper Hallway"
icon_state = "awaycontent24"

/area/awaymission/snowdwin/test3
name = "\improper Hallway"
icon_state = "awaycontent25"
53 changes: 53 additions & 0 deletions modular_ss220/maps220/code/RandomRuins/gateway/gateway_turfs.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#define SMOOTH_GROUP_SNOW S_TURF(34)

// MARK: Indestructible

// Grass
Expand Down Expand Up @@ -311,3 +313,54 @@
light_color = null
light_power = 0
light_range = 0 // removing faint glow

// MARK: Snowdwin
/turf/simulated/floor/plating/asteroid/snow/plating_smoth
name = "snowed-over plating"
desc = "A section of heated plating, helps keep the snow from stacking up too high."
icon = 'modular_ss220/maps220/icons/floors.dmi'
icon_state = "snow_turf-255"
base_icon_state = "snow_turf"
slowdown = 0
smoothing_flags = SMOOTH_BITMASK | SMOOTH_BORDER
smoothing_groups = list(SMOOTH_GROUP_TURF, SMOOTH_GROUP_SNOW)
canSmoothWith = list(SMOOTH_GROUP_SNOW)

/turf/simulated/floor/plating/asteroid/snow/ice
name = "icy snow"
icon = 'modular_ss220/maps220/icons/floors.dmi'
baseturf = /turf/simulated/floor/plating/asteroid/snow/ice
slowdown = 0

/turf/simulated/floor/plating/asteroid/snow/ice/Initialize(mapload)
icon_state = "snow-ice"

/turf/simulated/floor/plating/cold
atmos_mode = ATMOS_MODE_EXPOSED_TO_ENVIRONMENT
atmos_environment = ENVIRONMENT_COLD
temperature = 180

/turf/simulated/floor/plasteel/cold
atmos_mode = ATMOS_MODE_EXPOSED_TO_ENVIRONMENT
atmos_environment = ENVIRONMENT_COLD
temperature = 180

/turf/simulated/floor/lava/plasma/fuming/ice
icon = 'modular_ss220/maps220/icons/floors.dmi'
baseturf = /turf/simulated/floor/lava/plasma/fuming/ice
atmos_mode = ATMOS_MODE_EXPOSED_TO_ENVIRONMENT
atmos_environment = ENVIRONMENT_COLD

temperature = 180
oxygen = MOLES_O2STANDARD
nitrogen = MOLES_N2STANDARD
carbon_dioxide = 0
toxins = 0
light_range = 3
light_power = 0.75
light_color = LIGHT_COLOR_PINK

/turf/simulated/floor/engine/cult/cold
atmos_mode = ATMOS_MODE_EXPOSED_TO_ENVIRONMENT
atmos_environment = ENVIRONMENT_COLD
temperature = 180
51 changes: 51 additions & 0 deletions modular_ss220/maps220/code/corpses.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,54 @@
brute_damage = rand(150, 500)
burn_damage = rand(100, 300)
return ..()

/* Snowdwin */

/datum/outfit/dead_skrell
name = "SDTF dead crew"
uniform = /obj/item/clothing/under/solgov/srt
gloves = /obj/item/clothing/gloves/combat
shoes = /obj/item/clothing/shoes/combat
id = /obj/item/card/id

/datum/outfit/dead_skrell/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
. = ..()
if(visualsOnly)
return

H.add_language("Skrellian")
H.set_default_language(GLOB.all_languages["Skrellian"])

var/obj/item/card/id/I = H.wear_id
if(istype(I))
apply_to_card(I, H, list(ACCESS_MAINT_TUNNELS), "SDTF Raskinta Katish")
I.rank = "SDTF Raskinta Warrior"
I.assignment = "SDTF Raskinta Katish"
H.sec_hud_set_ID()

/datum/outfit/dead_skrell/warrior
name = "SDTF dead warrior"
back = /obj/item/mod/control/pre_equipped/exclusive/skrell_raskinta
l_pocket = /obj/item/tank/internals/emergency_oxygen/double
mask = /obj/item/clothing/mask/gas/swat
backpack_contents = list(
/obj/item/storage/box/skrell,
/obj/item/gun/energy/gun/skrell_pistol
)

/obj/effect/mob_spawn/human/corpse/skrell
mob_type = /mob/living/carbon/human
name = "SDTF crew corpse"
mob_species = /datum/species/skrell
random = TRUE
death = TRUE
disable_sensors = TRUE
outfit = /datum/outfit/dead_skrell

/obj/effect/mob_spawn/human/corpse/skrell/Initialize(mapload)
brute_damage = rand(0, 400)
return ..()

/obj/effect/mob_spawn/human/corpse/skrell/warrior
name = "SDTF warrior corpse"
outfit = /datum/outfit/dead_skrell/warrior
49 changes: 49 additions & 0 deletions modular_ss220/maps220/code/effects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
layer = TURF_LAYER
desc = "Death to Nanotrasen."

/obj/effect/turf_decal/raven/five

// Turf decals
/obj/effect/turf_decal/miscellaneous
icon_state = null
Expand Down Expand Up @@ -180,3 +182,50 @@

/obj/effect/light_emitter/colored/lime
light_color = "#6AFF00"

/* Awaymission - Snowdwin */
//Snowdwin station sign
/obj/effect/turf_decal/arctic_post_13_down
icon_state = "AOP1"

/obj/effect/turf_decal/arctic_post_13_down/two
icon_state = "AOP2"

/obj/effect/turf_decal/arctic_post_13_down/three
icon_state = "AOP3"

/obj/effect/turf_decal/arctic_post_13_down/four
icon_state = "AOP4"

/obj/effect/turf_decal/arctic_post_13_down/five
icon_state = "AOP5"

/obj/effect/turf_decal/arctic_post_13_down/six
icon_state = "AOP6"

/obj/effect/turf_decal/arctic_post_13_down/seven
icon_state = "AOP7"

/obj/effect/turf_decal/arctic_post_13_up
icon_state = "AOPU1"

/obj/effect/turf_decal/arctic_post_13_up/two
icon_state = "AOPU2"

/obj/effect/turf_decal/arctic_post_13_up/three
icon_state = "AOPU3"

/obj/effect/turf_decal/arctic_post_13_up/four
icon_state = "AOPU4"

/obj/effect/turf_decal/arctic_post_13_up/five
icon_state = "AOPU5"

/obj/effect/turf_decal/arctic_post_13_up/six
icon_state = "AOPU6"

/obj/effect/turf_decal/arctic_post_13_up/seven
icon_state = "AOPU7"

/obj/effect/turf_decal/weather/snow
icon = 'modular_ss220/maps220/icons/decals.dmi'
10 changes: 10 additions & 0 deletions modular_ss220/maps220/code/flora.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,13 @@
/obj/structure/flora/biolumini/lamp/weaklight
light_power = 0.5

/* Snowdwin */
/obj/structure/flora/tree/pine/stump
name = "pine stump"
icon = 'modular_ss220/maps220/icons/pinetrees.dmi'
icon_state = "tree_stump"
density = FALSE

/obj/structure/flora/tree/pine/stump/Initialize(mapload)
. = ..()
icon_state = initial(icon_state)
73 changes: 73 additions & 0 deletions modular_ss220/maps220/code/walls.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#define SMOOTH_GROUP_ICE_WALL S_TURF(33)

/* Indestructible */
/turf/simulated/wall/indestructible/rock/mineral
name = "dense rock"
Expand Down Expand Up @@ -130,3 +132,74 @@
/*Black Mesa*/
/turf/simulated/wall/indestructible/rock/mineral/xen
color = "#4e1a02"

/*Snow Dwin*/
/turf/simulated/wall/indestructible/rock/mineral/snow
color = COLOR_ASSEMBLY_WHITE

/turf/simulated/wall/indestructible/snow
name = "wall"
desc = "A wall covered in a thick sheet of ice."
icon = 'modular_ss220/maps220/icons/icedmetal_wall.dmi'
icon_state = "icedmetal_wall-0"
base_icon_state = "icedmetal_wall"

/turf/simulated/wall/snow
name = "wall"
desc = "A wall covered in a thick sheet of ice."
icon = 'modular_ss220/maps220/icons/icedmetal_wall.dmi'
icon_state = "icedmetal_wall-0"
base_icon_state = "icedmetal_wall"

/turf/simulated/mineral/ice
environment_type = "ice"
turf_type = /turf/simulated/floor/plating/asteroid/snow/ice
baseturf = /turf/simulated/floor/plating/asteroid/snow/ice
temperature = 180
atmos_mode = ATMOS_MODE_EXPOSED_TO_ENVIRONMENT
atmos_environment = ENVIRONMENT_COLD
color = COLOR_ASSEMBLY_WHITE
should_reset_color = FALSE

/turf/simulated/mineral/plasma/ice
environment_type = "ice"
turf_type = /turf/simulated/floor/plating/asteroid/snow/ice
baseturf = /turf/simulated/floor/plating/asteroid/snow/ice
temperature = 180
atmos_mode = ATMOS_MODE_EXPOSED_TO_ENVIRONMENT
atmos_environment = ENVIRONMENT_COLD
color = COLOR_ASSEMBLY_WHITE
should_reset_color = FALSE

/turf/simulated/mineral/iron/ice
environment_type = "ice"
turf_type = /turf/simulated/floor/plating/asteroid/snow/ice
baseturf = /turf/simulated/floor/plating/asteroid/snow/ice
temperature = 180
atmos_mode = ATMOS_MODE_EXPOSED_TO_ENVIRONMENT
atmos_environment = ENVIRONMENT_COLD
color = COLOR_ASSEMBLY_WHITE
should_reset_color = FALSE

/turf/simulated/mineral/diamond/ice
environment_type = "ice"
turf_type = /turf/simulated/floor/plating/asteroid/snow/ice
baseturf = /turf/simulated/floor/plating/asteroid/snow/ice
temperature = 180
atmos_mode = ATMOS_MODE_EXPOSED_TO_ENVIRONMENT
atmos_environment = ENVIRONMENT_COLD
color = COLOR_ASSEMBLY_WHITE
should_reset_color = FALSE

/turf/simulated/wall/mineral/snow
name = "snow wall"
desc = "A wall with silver plating. Icy!"
icon = 'modular_ss220/maps220/icons/snow_wall.dmi'
icon_state = "snow_wall-0"
base_icon_state = "snow_wall"
sheet_type = /obj/item/stack/sheet/mineral/snow
baseturf = /turf/simulated/floor/plating/cold
hardness = 70
explosion_block = 0
smoothing_groups = list(SMOOTH_GROUP_SIMULATED_TURFS, SMOOTH_GROUP_WALLS, SMOOTH_GROUP_SILVER_WALLS)
canSmoothWith = list(SMOOTH_GROUP_SILVER_WALLS)
Binary file modified modular_ss220/maps220/icons/decals.dmi
Binary file not shown.
Binary file modified modular_ss220/maps220/icons/floors.dmi
Binary file not shown.
Binary file added modular_ss220/maps220/icons/icedmetal_wall.dmi
Binary file not shown.
Binary file added modular_ss220/maps220/icons/icerock_wall.dmi
Binary file not shown.
Binary file added modular_ss220/maps220/icons/pinetrees.dmi
Binary file not shown.
Binary file added modular_ss220/maps220/icons/snow_wall.dmi
Binary file not shown.
Binary file added modular_ss220/maps220/liquidplasma.dmi
Binary file not shown.
Binary file added modular_ss220/maps220/snow.dmi
Binary file not shown.
1 change: 1 addition & 0 deletions modular_ss220/shuttles/_shuttles.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
#include "code/ferry_shuttles.dm"
#include "code/lance_shuttle.dm"
#include "code/nanotrasen_drop_pod.dm"
#include "code/elevators.dm"
16 changes: 16 additions & 0 deletions modular_ss220/shuttles/code/elevators.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/area/shuttle/elevator
name = "Snowdwin elevator"
icon_state = "shuttle"

/obj/machinery/computer/shuttle/elevator
name = "elevator console"
shuttleId = "elevator"
possible_destinations = "elevator_up;elevator_down"
resistance_flags = INDESTRUCTIBLE
flags = NODECONSTRUCT
circuit = /obj/item/circuitboard/shuttle/elevator

/obj/item/circuitboard/shuttle/elevator
board_name = "Elevator"
icon_state = "generic"
build_path = /obj/machinery/computer/shuttle/elevator
Loading