// Function from file: stationCollision.dm public Obj_Effect_Landmark_ScBibleSpawner(dynamic loc = null) : base((object)(loc)) { Obj_Item_Weapon_Storage_Book_Bible_Booze B = null; B = new Obj_Item_Weapon_Storage_Book_Bible_Booze(this.loc); B.name = "The Holy book of the Geometer"; B.deity_name = "Narsie"; B.icon_state = "melted"; B.item_state = "melted"; new Obj_Item_Weapon_Paper_ScSafehintPaperBible(B); new Obj_Item_Weapon_Pen(B); GlobalFuncs.qdel(this); return; }
// Function from file: civilian_chaplain.dm public override void post_equip(Mob H = null, int?visualsOnly = null) { visualsOnly = visualsOnly ?? GlobalVars.FALSE; Obj_Item_Weapon_Storage_Book_Bible_Booze B = null; string new_religion = null; string new_deity = null; base.post_equip(H, visualsOnly); if (Lang13.Bool(visualsOnly)) { return; } B = new Obj_Item_Weapon_Storage_Book_Bible_Booze(H); new_religion = "Christianity"; if (H.client != null && Lang13.Bool(H.client.prefs.custom_names["religion"])) { new_religion = H.client.prefs.custom_names["religion"]; } switch ((string)(String13.ToLower(new_religion))) { case "christianity": B.name = Rand13.Pick(new object [] { "The Holy Bible", "The Dead Sea Scrolls" }); break; case "satanism": B.name = "The Unholy Bible"; break; case "cthulu": B.name = "The Necronomicon"; break; case "islam": B.name = "Quran"; break; case "scientology": B.name = Rand13.Pick(new object [] { "The Biography of L. Ron Hubbard", "Dianetics" }); break; case "chaos": B.name = "The Book of Lorgar"; break; case "imperium": B.name = "Uplifting Primer"; break; case "toolboxia": B.name = "Toolbox Manifesto"; break; case "homosexuality": B.name = "Guys Gone Wild"; break; case "lol": case "wtf": case "gay": case "penis": case "ass": case "poo": case "badmin": case "shitmin": case "deadmin": case "c**k": case "cocks": B.name = Rand13.Pick(new object [] { "Woodys Got Wood: The Aftermath", "War of the Cocks", "Sweet Bro and Hella Jef: Expanded Edition" }); ((Mob_Living)H).setBrainLoss(100); break; case "science": B.name = Rand13.Pick(new object [] { "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" }); break; default: B.name = "The Holy Book of " + new_religion; break; } GlobalFuncs.feedback_set_details("religion_name", "" + new_religion); GlobalVars.ticker.Bible_name = B.name; new_deity = "Space Jesus"; if (H.client != null && Lang13.Bool(H.client.prefs.custom_names["deity"])) { new_deity = H.client.prefs.custom_names["deity"]; } B.deity_name = new_deity; if (GlobalVars.ticker != null) { GlobalVars.ticker.Bible_deity_name = B.deity_name; } GlobalFuncs.feedback_set_details("religion_deity", "" + new_deity); H.equip_to_slot_or_del(B, 18); return; }