mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
De-hardcodes wilderness levels z-traits (#96426)
## About The Pull Request Tin. If someone decides to add wilderness levels for maps that isnt ice, they will not suffer anymore. Uses default icy wilderness traits (renamed define for clarity), also adjusted another var name, for clarity too. ## Why It's Good For The Game Allows for a higher degree of customisation for wilderness levels, which is a very good idea, but somehow it was hardcoded to only work with snow maps. ## Changelog Nothing player facing (i hope)
This commit is contained in:
@@ -144,7 +144,7 @@ SUBSYSTEM_DEF(mapping)
|
||||
if(current_map.wilderness_levels)
|
||||
var/list/FailedZs = list()
|
||||
|
||||
LoadGroup(FailedZs, "Wilderness Area", current_map.wilderness_directory, current_map.maps_to_spawn, default_traits = ZTRAITS_WILDS, height_autosetup = FALSE)
|
||||
LoadGroup(FailedZs, "Wilderness Area", current_map.wilderness_directory, current_map.wilderness_maps_to_spawn, default_traits = current_map.wilderness_z_traits, height_autosetup = FALSE)
|
||||
|
||||
if(LAZYLEN(FailedZs))
|
||||
CRASH("Ice wilds failed to load!")
|
||||
|
||||
Reference in New Issue
Block a user