Space Station 13 - Modules - Types — Var Details - Proc Details

lavaland_theme

Vars

nameName of lavaland theme
planet_icon_stateIcon state of planet present on background of station Z-level
primary_turf_typeTypepath of turf the /turf/simulated/floor/lava/mapping_lava will be changed to
primary_turf_type_iconIcon for glass floors

Procs

replace_mapping_lavaChanges all the mapping lava on lavaland into our primary turf type. Has to run after the caves are generated, as they look for mapping lava.
setupThis proc should do all theme specific thing. Now it only generates rivers, but it can do all stuff you desire.

Var Details

name

Name of lavaland theme

planet_icon_state

Icon state of planet present on background of station Z-level

primary_turf_type

Typepath of turf the /turf/simulated/floor/lava/mapping_lava will be changed to

primary_turf_type_icon

Icon for glass floors

Proc Details

replace_mapping_lava

Changes all the mapping lava on lavaland into our primary turf type. Has to run after the caves are generated, as they look for mapping lava.

Nothing on lavaland is initialized yet, so we can just make the new turf in its place, which is much faster than ChangeTurf(). Mapping lava that shows up after this still changes itself in LateInitialize().

setup

This proc should do all theme specific thing. Now it only generates rivers, but it can do all stuff you desire.