Fancy exploration shuttle

This commit is contained in:
Chompstation Bot
2021-08-08 18:48:28 +00:00
parent 949daef5b1
commit ee735270ec
11 changed files with 1738 additions and 1533 deletions
+62 -8
View File
@@ -54,6 +54,24 @@ GLOBAL_LIST_EMPTY(fancy_shuttles)
var/mutable_appearance/under_EM
var/fancy_shuttle_tag
// Reinforced hull steel
/turf/simulated/wall/fancy_shuttle/Initialize(mapload, materialtype, rmaterialtype, girdertype)
. = ..(mapload, MAT_STEELHULL, MAT_STEELHULL, MAT_STEELHULL)
/turf/simulated/wall/fancy_shuttle/window
opacity = FALSE
icon_state = "hull_transparent"
/turf/simulated/wall/fancy_shuttle/window/attack_generic(mob/user, damage, attack_message)
take_damage(damage)
return damage
/turf/simulated/wall/fancy_shuttle/nondense
density = FALSE
blocks_air = FALSE
opacity = FALSE
icon_state = "hull_nondense"
/turf/simulated/wall/fancy_shuttle/pre_translate_A(turf/B)
. = ..()
remove_underlay()
@@ -62,15 +80,21 @@ GLOBAL_LIST_EMPTY(fancy_shuttles)
apply_underlay()
return ..()
/turf/simulated/wall/fancy_shuttle/window
opacity = FALSE
icon_state = "hull_transparent"
// No girders, and Eris plating
/turf/simulated/wall/fancy_shuttle/dismantle_wall(var/devastated, var/explode, var/no_product)
/turf/simulated/wall/fancy_shuttle/nondense
density = FALSE
blocks_air = FALSE
opacity = FALSE
icon_state = "hull_nondense"
playsound(src, 'sound/items/Welder.ogg', 100, 1)
if(!no_product && !devastated)
material.place_dismantled_product(src)
if (!reinf_material)
material.place_dismantled_product(src)
clear_plants()
material = get_material_by_name("placeholder")
reinf_material = null
girder_material = null
ChangeTurf(/turf/simulated/floor/plating/eris/under)
/turf/simulated/wall/fancy_shuttle/proc/remove_underlay()
if(under_MA)
@@ -217,6 +241,36 @@ GLOBAL_LIST_EMPTY(fancy_shuttles)
/obj/effect/fancy_shuttle_floor_preview/dropship
icon = 'icons/turf/fancy_shuttles/dropship_preview.dmi'
/**
* Explo shuttle
* North facing: W:13, H:18
*/
/obj/effect/fancy_shuttle/exploration
icon = 'icons/turf/fancy_shuttles/exploration_preview.dmi'
split_file = 'icons/turf/fancy_shuttles/exploration.dmi'
/obj/effect/fancy_shuttle_floor_preview/exploration
icon = 'icons/turf/fancy_shuttles/exploration_preview.dmi'
/**
* Sec shuttle
* North facing: W:13, H:18
*/
/obj/effect/fancy_shuttle/security
icon = 'icons/turf/fancy_shuttles/security_preview.dmi'
split_file = 'icons/turf/fancy_shuttles/security.dmi'
/obj/effect/fancy_shuttle_floor_preview/security
icon = 'icons/turf/fancy_shuttles/security_preview.dmi'
/**
* Med shuttle
* North facing: W:13, H:18
*/
/obj/effect/fancy_shuttle/medical
icon = 'icons/turf/fancy_shuttles/medical_preview.dmi'
split_file = 'icons/turf/fancy_shuttles/medical.dmi'
/obj/effect/fancy_shuttle_floor_preview/medical
icon = 'icons/turf/fancy_shuttles/medical_preview.dmi'
/**
* Orange line tram
* North facing: W:9, H:16
+5
View File
@@ -300,6 +300,11 @@
if(D.density)
ai_log("destroy_surroundings() : Attacking closed door.", AI_LOG_INFO)
return melee_attack(D)
// Should always be last thing attempted
if(!problem_turf.opacity)
ai_log("destroy_surroundings() : Attacking a transparent (window?) turf.", AI_LOG_INFO)
return melee_attack(problem_turf)
ai_log("destroy_surroundings() : Exiting due to nothing to attack.", AI_LOG_INFO)
return ATTACK_FAILED // Nothing to attack.
Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

File diff suppressed because it is too large Load Diff
+4
View File
@@ -1436,6 +1436,7 @@
/area/shuttle/excursion
requires_power = 1
icon_state = "shuttle2"
base_turf = /turf/simulated/floor/reinforced
/area/shuttle/excursion/general
name = "\improper Excursion Shuttle"
@@ -1446,6 +1447,9 @@
/area/shuttle/excursion/cargo
name = "\improper Excursion Shuttle Cargo"
/area/shuttle/excursion/power
name = "\improper Excursion Shuttle Power"
/area/shuttle/tourbus
requires_power = 1
icon_state = "shuttle2"
+1 -1
View File
@@ -191,7 +191,7 @@
warmup_time = 0
current_location = "tether_excursion_hangar"
docking_controller_tag = "expshuttle_docker"
shuttle_area = list(/area/shuttle/excursion/cockpit, /area/shuttle/excursion/general, /area/shuttle/excursion/cargo)
shuttle_area = list(/area/shuttle/excursion/cockpit, /area/shuttle/excursion/general, /area/shuttle/excursion/cargo, /area/shuttle/excursion/power)
fuel_consumption = 3
move_direction = NORTH