var/list/god_list = list() var/god_name = "" var/can_pray = 0 /client/proc/become_god(godName as text) set name = "Become God" set category = "Special Verbs" set desc = "(\"godly name\") Enter a godly name. (Type nothing for a random name)" if(!(usr.client in god_list)) if(!length(god_list)) if(!godName) switch(alert("Do you want the god name to be randomly picked?",,"Yes","No")) if("Yes") god_name = pick("Ahomana", "Ashie", "Barak", "Boanerges", "Chequa", "Dalogdog", "Enlil", "Guntur", "Haokah", "Heng", "Hino", "Indra", "Kaminari", "Keme", "Keneunlogy", "Lei", "Mekkhala", "Michikinaqua", "Nariko", "Ninurta", "Orko", "Ouxouiga", "Perun", "Pikne", "Potojchi", "Raamah", "Raamiah", "Rai", "Raicho", "Seth", "Sogbo", "Summanus", "Susanoo", "Taima", "Tama", "Taran", "Tarant", "Tarleton", "Terrill", "Taryn", "Tesup", "Tora", "Torborg", "Tormaigh", "Ukko", "Wagion", "Wakinyan", "Waukheon") if("No") boutput(usr, "Then please enter a god name!") return else: god_name = godName boutput(world, "

KNEEL, MORTALS! '[god_name]' LIVES!

") world << sound('sound/effects/thunder.ogg', volume = 80) boutput(world, "You may now pray in the Chapel.") boutput(usr, "You have become a god.") can_pray = 1 else boutput(usr, "There is already a god, but you can now listen to prayers!") god_list += usr.client else boutput(usr, "You are already a god!") /client/proc/revoke_god() set name = "Revoke God" set category = "Special Verbs" if(usr.client in god_list) god_list -= usr.client if(!length(god_list)) boutput(world, "

YOU MORTALS HAVE A GOD NO MORE

") world << sound('sound/effects/thunder.ogg', volume = 80) boutput(world, "You cannot pray anymore") can_pray = 0 boutput(usr, "You are a god no more!") /client/proc/check_gods() set name = "Check Gods" set category = "Special Verbs" if(!length(god_list)) boutput(usr, "There are no gods.") else boutput(usr, "The gods are:") for (var/client/C in god_list) boutput(usr, " [C.key]") /mob/living/verb/pray(message as text) set name = "Pray" set desc="(\"message\") Pray to the gods!" if(!can_pray) boutput(usr, "There are no gods willing to listen to you.") return if(!istype(usr.loc.loc, /area/chapel)) boutput(usr, "You must be in the chapel to pray!") return message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN)) if (!message) return boutput(usr, "You pray to [god_name]!") for(var/god in god_list) boutput(god, "PRAYER [usr.name]/[usr.key]: [message]")