Space Station 13 - Nebula13 - Modules - TypesVar Details - Proc Details

planetoid

Base level data for levels that are subordinated to a /datum/planetoid_data entry. A bunch of things are fetched from planet gen to stay in sync.

Vars

parent_planetoidThe planetoid_data datum owning this level. At definition can be set to the planetoid_id of the planetoid to link up with on creation. Ideally this will eventually be the main reference for the z-level to the planet level contents are located on. So we don't need to link every single turfs to it.

Procs

apply_planet_ambient_lightingApply our parent planet's ambient lighting settings if we want to.
apply_planet_atmosphereIf we're getting atmos from our parent planet, apply it.
set_planetoidMake sure the planetoid we belong to knows about us and that we know about them.

Var Details

parent_planetoid

The planetoid_data datum owning this level. At definition can be set to the planetoid_id of the planetoid to link up with on creation. Ideally this will eventually be the main reference for the z-level to the planet level contents are located on. So we don't need to link every single turfs to it.

Proc Details

apply_planet_ambient_lighting

Apply our parent planet's ambient lighting settings if we want to.

apply_planet_atmosphere

If we're getting atmos from our parent planet, apply it.

set_planetoid

Make sure the planetoid we belong to knows about us and that we know about them.