Skip to content

Commit

Permalink
Removing unsimulated shuttle ceilings.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 committed Jan 27, 2025
1 parent d13e141 commit 7b34fbd
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@

/turf/unsimulated/get_lumcount(var/minlum = 0, var/maxlum = 1)
return 0.8

// For the purposes of spacemove/spacedrift.
/turf/unsimulated/is_floor()
return !density
/turf/unsimulated/is_wall()
return !is_floor()
3 changes: 0 additions & 3 deletions code/game/turfs/unsimulated/floor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
/turf/unsimulated/floor/rescue_base
icon_state = "asteroidfloor"

/turf/unsimulated/floor/shuttle_ceiling
icon_state = "reinforced"

/turf/unsimulated/floor/snow
name = "snow"
icon = 'icons/turf/flooring/snow.dmi'
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mechs/mech_movement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
for(var/atom/movable/AM in contents)
if(!AM.overmap_can_discard())
return FALSE
return !pilots.len
return LAZYLEN(pilots) <= 0

/mob/living/exosuit/fall_damage()
return 175 //Exosuits are big and heavy
Expand Down
2 changes: 1 addition & 1 deletion code/modules/shuttles/shuttle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
var/category = /datum/shuttle
var/multiz = 0 //how many multiz levels, starts at 0

var/ceiling_type = /turf/unsimulated/floor/shuttle_ceiling
var/ceiling_type = /turf/floor/shuttle_ceiling
var/force_ceiling_on_init = TRUE // Whether or not to force ceilings turfs to be created above on initialization.

var/sound_takeoff = 'sound/effects/shuttle_takeoff.ogg'
Expand Down
2 changes: 1 addition & 1 deletion maps/planets/test_planet/neutralia-3.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/turf/unsimulated/floor/rescue_base,
/area/exoplanet/neutralia)
"e" = (
/turf/unsimulated/floor/shuttle_ceiling,
/turf/floor/shuttle_ceiling,
/area/exoplanet/neutralia)
"j" = (
/obj/abstract/landmark/exoplanet_spawn/large_plant,
Expand Down
4 changes: 2 additions & 2 deletions maps/random_ruins/space_ruins/multi_zas_test.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
/turf/open,
/area/template_noop)
"e" = (
/turf/unsimulated/floor/shuttle_ceiling,
/turf/floor/shuttle_ceiling,
/area/template_noop)
"f" = (
/obj/abstract/map_data{
height = 3
},
/turf/unsimulated/floor/shuttle_ceiling,
/turf/floor/shuttle_ceiling,
/area/template_noop)

(1,1,1) = {"
Expand Down
2 changes: 1 addition & 1 deletion nebula.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,6 @@
#include "code\game\turfs\turf_height.dm"
#include "code\game\turfs\turf_material.dm"
#include "code\game\turfs\turf_ramps.dm"
#include "code\game\turfs\unsimulated.dm"
#include "code\game\turfs\flooring\_flooring.dm"
#include "code\game\turfs\flooring\_flooring_decals.dm"
#include "code\game\turfs\flooring\flooring_carpet.dm"
Expand Down Expand Up @@ -1616,6 +1615,7 @@
#include "code\game\turfs\open\open_sky.dm"
#include "code\game\turfs\space\space.dm"
#include "code\game\turfs\space\transit.dm"
#include "code\game\turfs\unsimulated\_unsimulated.dm"
#include "code\game\turfs\unsimulated\floor.dm"
#include "code\game\turfs\unsimulated\mask.dm"
#include "code\game\turfs\unsimulated\walls.dm"
Expand Down

0 comments on commit 7b34fbd

Please sign in to comment.