mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
Datumizes pod types (#85033)
## About The Pull Request Changes supply pods to use datums instead of a massive nested list to store data and index defines as styles. Complete feature parity. ## Why It's Good For The Game this is nightmare fuel to work with  and this is a sin against nature and god   ends up as  which is ??? Using a nested list to store pod data is a very bad idea, it has horrible formatting, is unreadable without having index defines open in a second tab and is not extendable. And as you can see above, if someone added another pod type before 14th everything would break because other pod type lists **__only have 8 elements__** instead of 10 like the seethrough one does. ## Changelog 🆑 refactor: Pod code now uses datums instead of being a huge nested list /🆑
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
podspawn(list(
|
||||
"target" = get_turf(target),
|
||||
"path" = /obj/structure/closet/supplypod/centcompod,
|
||||
"style" = STYLE_CENTCOM,
|
||||
"style" = /datum/pod_style/centcom,
|
||||
"spawn" = target_path,
|
||||
"damage" = SUPPLY_POD_QUICK_DAMAGE,
|
||||
"explosionSize" = list(0, 0, 0, SUPPLY_POD_QUICK_FIRE_RANGE),
|
||||
|
||||
Reference in New Issue
Block a user