Stellar Delight!

This commit is contained in:
Chompstation Bot
2021-10-30 13:34:04 +00:00
parent 56261338af
commit 60de9a473c
88 changed files with 273644 additions and 4386 deletions

View File

@@ -0,0 +1,6 @@
/obj/effect/overmap/visitable/sector/Crossed(var/obj/effect/overmap/visitable/ship/enterer)
. = ..()
if(istype(enterer))
for(var/mob/potential_mob as anything in player_list)
if(potential_mob.z in enterer.map_z)
SEND_SOUND(potential_mob, 'sound/ambience/approaching_planet.ogg')

View File

@@ -53,7 +53,8 @@
forceMove(locate(start_x, start_y, global.using_map.overmap_z))
docking_codes = "[ascii2text(rand(65,90))][ascii2text(rand(65,90))][ascii2text(rand(65,90))][ascii2text(rand(65,90))]"
if(!docking_codes)
docking_codes = "[ascii2text(rand(65,90))][ascii2text(rand(65,90))][ascii2text(rand(65,90))][ascii2text(rand(65,90))]"
testing("Located sector \"[name]\" at [start_x],[start_y], containing Z [english_list(map_z)]")

View File

@@ -40,6 +40,9 @@
var/halted = 0 //admin halt or other stop.
var/skill_needed = SKILL_ADEPT //piloting skill needed to steer it without going in random dir
var/operator_skill
//VOREStation add
var/last_sound = 0 //The last time a ship sound was played //VOREStation add
var/sound_cooldown = 10 SECONDS //VOREStation add
/// Vis contents overlay holding the ship's vector when in motion
var/obj/effect/overlay/vis/vector
@@ -124,17 +127,37 @@
CHANGE_SPEED_BY(speed[2], n_y)
update_icon()
var/still = is_still()
// If nothing changed
if(still == old_still)
return
// If it is now still, stopped moving
else if(still)
STOP_PROCESSING(SSprocessing, src)
for(var/zz in map_z)
toggle_move_stars(zz)
if(last_sound + sound_cooldown >= world.time)
return
//VOREStation Add Start
last_sound = world.time
for(var/mob/potential_mob as anything in player_list)
if(potential_mob.z in map_z)
SEND_SOUND(potential_mob, 'sound/ambience/shutdown.ogg')
//VOREStation Add End
// If it started moving
else
START_PROCESSING(SSprocessing, src)
glide_size = WORLD_ICON_SIZE/max(DS2TICKS(SSprocessing.wait), 1) //Down to whatever decimal
for(var/zz in map_z)
toggle_move_stars(zz, fore_dir)
if(last_sound + sound_cooldown >= world.time)
return
//VOREStation Add Start
last_sound = world.time
for(var/mob/potential_mob as anything in player_list)
if(potential_mob.z in map_z)
SEND_SOUND(potential_mob, 'sound/ambience/startup.ogg')
//VOREStation Add End
/obj/effect/overmap/visitable/ship/proc/get_brake_path()
if(!get_acceleration())