Massively upgrades sensor readout fluff (#16073)

* jesus christ part 1

* i cant be cool

* unathi start

* finishing the fight

* lore requests

* fixes lore request
This commit is contained in:
kyres1
2023-04-03 05:47:28 -05:00
committed by GitHub
parent 5ff04b914e
commit 54a35e35cc
73 changed files with 335 additions and 19 deletions
+33 -5
View File
@@ -1,5 +1,7 @@
/obj/effect/overmap/visitable/sector/exoplanet
name = "exoplanet"
scanimage = "exoplanet_empty.png" //Shouldn't be a scarcity of these, but this image would work if there's somehow nothing to give a new planet type
generic_object = FALSE
var/area/planetary_area
var/list/seeds = list()
var/list/animals = list()
@@ -14,6 +16,14 @@
var/daycolumn = 0 //Which column's light needs to be updated next?
var/daycycle_column_delay = 10 SECONDS
// Fluff, specifically for celestial objects.
var/massvolume = "0.95~/1.1" //Should use biesels as measurement as opposed to earths
var/surfacegravity = "0.99" //Should use Gs as measurement
var/charted = "No database entry- likely uncharted." //If it's on star charts or not, and who found it plus when
var/geology = "Dormant, unreadable tectonic activity" //Anything unique about tectonics and its core activity
var/weather = "No substantial meteorological readings" //Anything unique about terrestrial weather conditions
var/surfacewater = "NA/None Visible" //Water visible on the surface
var/maxx
var/maxy
var/landmark_type = /obj/effect/shuttle_landmark/automatic
@@ -412,22 +422,40 @@
/obj/effect/overmap/visitable/sector/exoplanet/get_scan_data(mob/user)
. = ..()
. += "<br><center><large><b>Scan Details</b></large>"
. += "<br><large><b>[name]</b></large></center>"
. += "<br><b>Estimated Mass and Volume: </b><small>[massvolume]BSS(Biesels)</small>"
. += "<br><b>Surface Gravity: </b><small>[surfacegravity]Gs</small>"
. += "<br><b>Charted: </b><small>[charted]</small>"
. += "<br><b>Geological Variables: </b><small>[geology]</small>"
. += "<br><b>Surface Water Coverage: </b><small>[surfacewater]</small>"
. += "<br><b>Apparent Weather Data: </b><small>[weather]</small>"
. += "<hr>"
. += "<br><center><b>Visible Light Viewport Magnified</b>"
. += "<br><img src = [scanimage]>"
. += "<br><small>High-Fidelity Image Capture of [name]</small>"
. += "<hr>"
. += "<br><b>Native Database Notes</b></center>"
. += "<br><small>[desc]</small>"
var/list/extra_data = list("<hr>")
if(atmosphere)
var/list/gases = list()
for(var/g in atmosphere.gas)
if(atmosphere.gas[g] > atmosphere.total_moles * 0.05)
gases += gas_data.name[g]
extra_data += "Atmosphere composition: [english_list(gases)]"
extra_data += "<b>Atmosphere composition:</b> [english_list(gases)]"
var/inaccuracy = rand(8,12)/10
extra_data += "Atmosphere pressure [atmosphere.return_pressure()*inaccuracy] kPa, temperature [atmosphere.temperature*inaccuracy] K"
extra_data += "<hr>"
extra_data += "<b>Atmosphere pressure:</b> [atmosphere.return_pressure()*inaccuracy] kPa, <b>temperature:</b> [atmosphere.temperature*inaccuracy] K"
if(seeds.len)
extra_data += "Xenoflora detected"
extra_data += "<br>Unrecognized xenoflora detected."
if(animals.len)
extra_data += "Life traces detected"
extra_data += "<br>Unrecognized xenofauna detected."
else
extra_data += "<br>No unrecognized biological signatures detected."
if(LAZYLEN(spawned_features))
var/ruin_num = 0
+28 -2
View File
@@ -4,6 +4,17 @@
icon_state = "object"
color = "#fffffe"
//RP fluff details to appear on scan readouts for any object we want to include these details with
var/scanimage = "no_data.png"
var/designer = "Unknown" //The shipyard or designer of the object if applicable
var/volume = "Unestimated" //Length height width of the object in tiles ingame
var/weapons = "Not apparent" //The expected armament or scale of armament that the design comes with if applicable. Can vary in visibility for obvious reasons
var/sizeclass = "Unknown" //The class of the design if applicable. Not a prefix. Should be things like battlestations or corvettes
var/shiptype = "Unknown" //The designated purpose of the design. Should briefly describe whether it's a combatant or study vessel for example
var/generic_object = TRUE //Used to give basic scan descriptions of every generic overmap object that excludes noteworthy locations, ships and exoplanets
var/static_vessel = FALSE //Used to expand scan details for visible space stations
var/list/map_z = list()
var/known = 0 //shows up on nav computers automatically
@@ -16,7 +27,6 @@
var/sensor_visibility = 10 //how likely it is to increase identification process each scan.
var/vessel_mass = 10000 // metric tonnes, very rough number, affects acceleration provided by engines
var/image/targeted_overlay
//Overlay of how this object should look on other skyboxes
@@ -24,7 +34,23 @@
return
/obj/effect/overmap/proc/get_scan_data(mob/user)
return desc
if(static_vessel == TRUE)
. += "<hr>"
. += "<br><center><large><b>Scan Details</b></large>"
. += "<br><large><b>[name]</b></large></center>"
. += "<br><small><b>Estimated Mass:</b> [vessel_mass]"
. += "<br><b>Projected Volume:</b> [volume]"
. += "<hr>"
. += "<br><center><b>Native Database Specifications</b>"
. += "<br><img src = [scanimage]></center>"
. += "<br><small><b>Manufacturer:</b> [designer]"
. += "<br><b>Class Designation:</b> [sizeclass]"
. += "<br><b>Weapons Estimation:</b> [weapons]</small>"
. += "<hr>"
. += "<br><center><b>Native Database Notes</b></center>"
. += "<br><small>[desc]</small>"
else if(generic_object == TRUE)
return desc
/obj/effect/overmap/proc/handle_wraparound()
var/nx = x
+22 -1
View File
@@ -19,8 +19,13 @@ var/const/OVERMAP_SPEED_CONSTANT = (1 SECOND)
obfuscated_name = "unidentified vessel"
sensor_range_override = FALSE
hide_from_reports = TRUE
generic_object = FALSE
var/moving_state = "ship_moving"
//RP fluff details to appear on scan readouts for mobile objects.
var/propulsion = "Chemical Composite Gas Thrust" //Slower than light propulsion method. No variation in this currently exists yet except the Horizon which heats its gas.
var/drive = "None equipped, FTL incapable" //Faster than light propulsion method, will usually be warp drives for third party ships and nothing for shuttles
var/list/known_ships = list() //List of ships known at roundstart - put types here.
var/base_sensor_visibility
@@ -79,11 +84,27 @@ var/const/OVERMAP_SPEED_CONSTANT = (1 SECOND)
/obj/effect/overmap/visitable/ship/get_scan_data(mob/user)
. = ..()
. += "<br>Mass: [vessel_mass] tons."
if(!is_still())
. += "<br>Heading: [dir2angle(get_heading())], speed [get_speed() * 1000]"
if(instant_contact)
. += "<br>It is broadcasting a distress signal."
. += "<hr>"
. += "<br><center><large><b>Scan Details</b></large>"
. += "<br><large><b>[name]</b></large></center>"
. += "<br><small><b>Estimated Mass:</b> [vessel_mass]"
. += "<br><b>Projected Volume:</b> [volume]"
. += "<br><b>STL Propulsion:</b> [propulsion]"
. += "<br><b>FTL Drive:</b> [drive]</small>"
. += "<hr>"
. += "<br><center><b>Native Database Specifications</b>"
. += "<br><img src = [scanimage]></center>"
. += "<br><small><b>Manufacturer:</b> [designer]"
. += "<br><b>Class Designation:</b> [sizeclass]"
. += "<br><b>Designated Purpose:</b> [shiptype]"
. += "<br><b>Weapons Estimation:</b> [weapons]</small>"
. += "<hr>"
. += "<br><center><b>Native Database Notes</b></center>"
. += "<br><small>[desc]</small>"
//Projected acceleration based on information from engines
/obj/effect/overmap/visitable/ship/proc/get_acceleration()