mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-28 20:06:32 +01:00
Singletons and abstract_types! (#4760)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> ## About The Pull Request I finally have the pleasure of killing decl by giving it a new name and updated handling. Also abstract_types now have universal support! Based on: Baystation12/Baystation12/pull/32114 Baystation12/Baystation12/pull/32687 ## Changelog 🆑 code: /decl/ is now /singleton/ code: abstract_type is now on the /datum/ level /🆑 <!-- Both 🆑's are required for the changelog to work! You can put your name to the right of the first 🆑 if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. -->
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
/datum/lore
|
||||
/// abstract type
|
||||
var/abstract_type = /datum/lore
|
||||
abstract_type = /datum/lore
|
||||
|
||||
/datum/lore/character_background
|
||||
abstract_type = /datum/lore/character_background
|
||||
|
||||
/// name
|
||||
var/name = "Unknown"
|
||||
/// id - **must be unique on subtypes
|
||||
|
||||
Reference in New Issue
Block a user