mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
All custom names in Character Settings can be left blank to default or randomise them (#59496)
Allows all custom names in Character Settings to be reverted to either the default name or a random one, instead of only cyborg and bible names. Allows picking a random religion in Character Settings. Changing your religion updates your bible and deity if applicable. It uses the religions and bible names that were already in chaplain spawning code. I've added deities to most of them, to save players having to figure them out themselves. I wasn't familiar with a lot of these religions and references so let me know if I've gotten something wrong.
This commit is contained in:
@@ -1975,7 +1975,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
if("mime")
|
||||
return pick(GLOB.mime_names)
|
||||
if("religion")
|
||||
return DEFAULT_RELIGION
|
||||
return pick(GLOB.religion_names)
|
||||
if("deity")
|
||||
return DEFAULT_DEITY
|
||||
if("bible")
|
||||
@@ -2000,3 +2000,75 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
return
|
||||
else
|
||||
custom_names[name_id] = sanitized_name
|
||||
|
||||
if(name_id == "religion")
|
||||
update_bible_and_deity_name(custom_names[name_id])
|
||||
|
||||
/datum/preferences/proc/update_bible_and_deity_name(religion)
|
||||
switch(lowertext(religion))
|
||||
if("christianity") // DEFAULT_RELIGION
|
||||
custom_names["bible"] = pick("The Holy Bible","The Dead Sea Scrolls")
|
||||
custom_names["deity"] = "Space Jesus"
|
||||
if("buddhism")
|
||||
custom_names["bible"] = "The Sutras"
|
||||
custom_names["deity"] = "Buddha"
|
||||
if("clownism","honkmother","honk","honkism","comedy")
|
||||
custom_names["bible"] = pick("The Holy Joke Book", "Just a Prank", "Hymns to the Honkmother")
|
||||
custom_names["deity"] = "The Honkmother"
|
||||
if("chaos")
|
||||
custom_names["bible"] = "The Book of Lorgar"
|
||||
custom_names["deity"] = pick("Chaos Gods", "Dark Gods", "Ruinous Powers")
|
||||
if("cthulhu")
|
||||
custom_names["bible"] = "The Necronomicon"
|
||||
custom_names["deity"] = pick("Great Old Ones", "Old Ones")
|
||||
if("hinduism")
|
||||
custom_names["bible"] = "The Vedas"
|
||||
custom_names["deity"] = pick("Brahma", "Vishnu", "Shiva")
|
||||
if("imperium")
|
||||
custom_names["bible"] = "Uplifting Primer"
|
||||
custom_names["deity"] = "Astra Militarum"
|
||||
if("islam")
|
||||
custom_names["bible"] = "Quran"
|
||||
custom_names["deity"] = "Allah"
|
||||
if("judaism")
|
||||
custom_names["bible"] = "The Torah"
|
||||
custom_names["deity"] = "Yahweh"
|
||||
if("lampism")
|
||||
custom_names["bible"] = "Fluorescent Incandescence"
|
||||
custom_names["deity"] = "Lamp"
|
||||
if("monkeyism","apism","gorillism","primatism")
|
||||
custom_names["bible"] = pick("Going Bananas", "Bananas Out For Harambe")
|
||||
custom_names["deity"] = pick("Harambe", "monky")
|
||||
if("mormonism")
|
||||
custom_names["bible"] = "The Book of Mormon"
|
||||
custom_names["deity"] = pick("God", "Elohim", "Godhead")
|
||||
if("pastafarianism")
|
||||
custom_names["bible"] = "The Gospel of the Flying Spaghetti Monster"
|
||||
custom_names["deity"] = "Flying Spaghetti Monster"
|
||||
if("rastafarianism","rasta")
|
||||
custom_names["bible"] = "The Holy Piby"
|
||||
custom_names["deity"] = "Haile Selassie I"
|
||||
if("satanism")
|
||||
custom_names["bible"] = "The Unholy Bible"
|
||||
custom_names["deity"] = "Satan"
|
||||
if("sikhism")
|
||||
custom_names["bible"] = "Guru Granth Sahib"
|
||||
custom_names["deity"] = "Waheguru"
|
||||
if("science")
|
||||
custom_names["bible"] = pick("Principle of Relativity", "Quantum Enigma: Physics Encounters Consciousness", "Programming the Universe", "Quantum Physics and Theology", "String Theory for Dummies", "How To: Build Your Own Warp Drive", "The Mysteries of Bluespace", "Playing God: Collector's Edition")
|
||||
custom_names["deity"] = pick("Albert Einstein", "Stephen Hawking", "Neil deGrasse Tyson", "Carl Sagan", "Richard Dawkins")
|
||||
if("scientology")
|
||||
custom_names["bible"] = pick("The Biography of L. Ron Hubbard","Dianetics")
|
||||
custom_names["deity"] = pick("Money", "Power", "Xenu", "Tom Cruise", "L. Ron Hubbard", "David Miscavige", "John Travolta")
|
||||
if("servicianism", "partying")
|
||||
custom_names["bible"] = "The Tenets of Servicia"
|
||||
custom_names["deity"] = pick("Servicia", "Space Bacchus", "Space Dionysus")
|
||||
if("subgenius")
|
||||
custom_names["bible"] = "Book of the SubGenius"
|
||||
custom_names["deity"] = pick("Jehovah 1", "J. R. \"Bob\" Dobbs")
|
||||
if("toolboxia","greytide")
|
||||
custom_names["bible"] = pick("Toolbox Manifesto","iGlove Assistants")
|
||||
custom_names["deity"] = "Maintenance"
|
||||
else
|
||||
if(custom_names["bible"] == DEFAULT_BIBLE)
|
||||
custom_names["bible"] = "The Holy Book of [religion]"
|
||||
|
||||
Reference in New Issue
Block a user