mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 02:36:28 +01:00
- all cells in the game are now small, medium, large - super, hyper capacity cells, device, and weapon cells are all removed - cells now have standardized variants, some of which are printable by R&D - energy weapons rebalanced - **advanced energy guns and stun revolvers removed** - use the new modular weapon system and microfission cells. --------- Co-authored-by: silicons <silicons@silicons.dev>
26 lines
762 B
Plaintext
26 lines
762 B
Plaintext
//* This file is explicitly licensed under the MIT license. *//
|
|
//* Copyright (c) 2024 Citadel Station Developers *//
|
|
|
|
/**
|
|
* macro to make sure a /type/path is in a spatial grid
|
|
*
|
|
* they are put in during Initialize()
|
|
*
|
|
* * TYPEPATH must be a subtype of /atom/movable
|
|
* * this is a define so we can add recovery/rebuild registration to this later.
|
|
*
|
|
* todo: /atom/movable/recover_spatial_grid(), macro should have components remade using that.
|
|
*/
|
|
#define TYPE_REGISTER_SPATIAL_GRID(TYPEPATH, GRID) \
|
|
##TYPEPATH/Initialize(...) { \
|
|
. = ..(); \
|
|
if(. == INITIALIZE_HINT_QDEL) { \
|
|
return; \
|
|
} \
|
|
AddComponent(/datum/component/spatial_grid, GRID); \
|
|
}
|
|
|
|
//* init flags to determine behavior *//
|
|
|
|
#define SPATIAL_GRID_INIT_OPTIMIZE_ALL_Z (1<<0)
|