diff --git a/baystation12.dme b/baystation12.dme index 6ff16b04771..cf80c8ab74b 100644 --- a/baystation12.dme +++ b/baystation12.dme @@ -797,6 +797,9 @@ #include "code\modules\events\infestation.dm" #include "code\modules\events\ion_storm.dm" #include "code\modules\events\meteors.dm" +#include "code\modules\events\money_hacker.dm" +#include "code\modules\events\money_lotto.dm" +#include "code\modules\events\money_spam.dm" #include "code\modules\events\prison_break.dm" #include "code\modules\events\radiation_storm.dm" #include "code\modules\events\rogue_drones.dm" @@ -1190,6 +1193,7 @@ #include "code\WorkInProgress\Cael_Aislinn\Economy\Accounts.dm" #include "code\WorkInProgress\Cael_Aislinn\Economy\Economy.dm" #include "code\WorkInProgress\Cael_Aislinn\Economy\Economy_Events.dm" +#include "code\WorkInProgress\Cael_Aislinn\Economy\Economy_Events_Mundane.dm" #include "code\WorkInProgress\Cael_Aislinn\Economy\Economy_TradeDestinations.dm" #include "code\WorkInProgress\Cael_Aislinn\Economy\EFTPOS.dm" #include "code\WorkInProgress\Cael_Aislinn\Jungle\falsewall.dm" diff --git a/code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events.dm b/code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events.dm index 76c85755937..2aa5cc42d1e 100644 --- a/code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events.dm +++ b/code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events.dm @@ -11,11 +11,14 @@ if(!setup_economy) setup_economy() - var/type = pick(tradeable_destinations) - affected_dest = new type() + affected_dest = pickweight(weighted_randomevent_locations) if(affected_dest.viable_random_events.len) endWhen = rand(60,300) event_type = pick(affected_dest.viable_random_events) + + if(!event_type) + return + switch(event_type) if(RIOTS) dearer_goods = list(SECURITY) @@ -54,39 +57,42 @@ /datum/event/economic_event/announce() //copy-pasted from the admin verbs to submit new newscaster messages var/datum/feed_message/newMsg = new /datum/feed_message - newMsg.author = "NanoTrasen Editor" + newMsg.author = "Tau Ceti Daily" newMsg.is_admin_message = 1 - switch(event_type) - if(RIOTS) - newMsg.body = "[pick("Riots have","Unrest has")] broken out on planet [affected_dest.name]. Authorities call for calm, as [pick("various parties","rebellious elements","peacekeeping forces","\'REDACTED\'")] begin stockpiling weaponry and armour. Meanwhile, food and mineral prices are dropping as local industries attempt empty their stocks in expectation of looting." - if(WILD_ANIMAL_ATTACK) - newMsg.body = "Local [pick("wildlife","animal life","fauna")] on planet [affected_dest.name] has been increasing in agression and raiding outlying settlements for food. Big game hunters have been called in to help alleviate the problem, but numerous injuries have already occurred." - if(INDUSTRIAL_ACCIDENT) - newMsg.body = "[pick("An industrial accident","A smelting accident","A malfunction","A malfunctioning piece of machinery","Negligent maintenance","A cooleant leak","A ruptured conduit")] at a [pick("factory","installation","power plant","dockyards")] on [affected_dest.name] resulted in severe structural damage and numerous injuries. Repairs are ongoing." - if(BIOHAZARD_OUTBREAK) - newMsg.body = "[pick("A \'REDACTED\'","A biohazard","An outbreak","A virus")] on [affected_dest.name] has resulted in quarantine, stopping much shipping in the area. Although the quarantine is now lifted, authorities are calling for deliveries of medical supplies to treat the infected, and gas to replace contaminated stocks." - if(PIRATES) - newMsg.body = "[pick("Pirates","Criminal elements","A [pick("Syndicate","Donk Co.","Waffle Co.","\'REDACTED\'")] strike force")] have [pick("raided","blockaded","attempted to blackmail","attacked")] [affected_dest.name] today. Security has been tightened, but many valuable minerals were taken." - if(CORPORATE_ATTACK) - newMsg.body = "A small [pick("pirate","Cybersun Industries","Gorlex Marauders","Syndicate")] fleet has precise-jumped into proximity with [affected_dest.name], [pick("for a smash-and-grab operation","in a hit and run attack","in an overt display of hostilities")]. Much damage was done, and security has been tightened since the incident." - if(ALIEN_RAIDERS) - if(prob(20)) - newMsg.body = "The Tiger Co-operative have raided [affected_dest.name] today, no doubt on orders from their enigmatic masters. Stealing wildlife, farm animals, medical research materials and kidnapping civilians. NanoTrasen authorities are standing by to counter attempts at bio-terrorism." - else - newMsg.body = "[pick("The alien species designated \'United Exolitics\'","The alien species designated \'REDACTED\'","An unknown alien species")] have raided [affected_dest.name] today, stealing wildlife, farm animals, medical research materials and kidnapping civilians. It seems they desire to learn more about us, so the Navy will be standing by to accomodate them next time they try." - if(AI_LIBERATION) - newMsg.body = "A [pick("\'REDACTED\' was detected on","S.E.L.F operative infiltrated","malignant computer virus was detected on","rogue [pick("slicer","hacker")] was apprehended on")] [affected_dest.name] today, and managed to infect [pick("\'REDACTED\'","a sentient sub-system","a class one AI","a sentient defence installation")] before it could be stopped. Many lives were lost as it systematically begin murdering civilians, and considerable work must be done to repair the affected areas." - if(MOURNING) - newMsg.body = "[pick("The popular","The well-liked","The eminent","The well-known")] [pick("professor","entertainer","singer","researcher","public servant","administrator","ship captain","\'REDACTED\'")], [pick( random_name(pick(MALE,FEMALE)), 40; "\'REDACTED\'" )] has [pick("passed away","committed suicide","been murdered","died in a freakish accident")] on [affected_dest.name] today. The entire planet is in mourning, and prices have dropped for industrial goods as worker morale drops." - if(CULT_CELL_REVEALED) - newMsg.body = "A [pick("dastardly","blood-thirsty","villanous","crazed")] cult of [pick("The Elder Gods","Nar'sie","an apocalyptic sect","\'REDACTED\'")] has [pick("been discovered","been revealed","revealed themselves","gone public")] on [affected_dest.name] earlier today. Public morale has been shaken due to [pick("certain","several","one or two")] [pick("high-profile","well known","popular")] individuals [pick("performing \'REDACTED\' acts","claiming allegiance to the cult","swearing loyalty to the cult leader","promising to aid to the cult")] before those involved could be brought to justice. The editor reminds all personnel that supernatural myths will not be tolerated on NanoTrasen facilities." - if(SECURITY_BREACH) - newMsg.body = "There was [pick("a security breach in","an unauthorised access in","an attempted theft in","an anarchist attack in","violent sabotage of")] a [pick("high-security","restricted access","classified","\'REDACTED\'")] [pick("\'REDACTED\'","section","zone","area")] this morning. Security was tightened on [affected_dest.name] after the incident, and the editor reassures all NanoTrasen personnel that such lapses are rare." - if(ANIMAL_RIGHTS_RAID) - newMsg.body = "[pick("Militant animal rights activists","Members of the terrorist group Animal Rights Consortium","Members of the terrorist group \'REDACTED\'")] have [pick("launched a campaign of terror","unleashed a swathe of destruction","raided farms and pastures","forced entry to \'REDACTED\'")] on [affected_dest.name] earlier today, freeing numerous [pick("farm animals","animals","\'REDACTED\'")]. Prices for tame and breeding animals have spiked as a result." - if(FESTIVAL) - newMsg.body = "A [pick("festival","week long celebration","day of revelry","planet-wide holiday")] has been declared on [affected_dest.name] by [pick("Governor","Commissioner","General","Commandant","Administrator")] [random_name(pick(MALE,FEMALE))] to celebrate [pick("the birth of their [pick("son","daughter")]","coming of age of their [pick("son","daughter")]","the pacification of rogue military cell","the apprehension of a violent criminal who had been terrorising the planet")]. Massive stocks of food and meat have been bought driving up prices across the planet." + //see if our location has custom event info for this event + newMsg.body = affected_dest.get_custom_eventstring() + if(!newMsg.body) + switch(event_type) + if(RIOTS) + newMsg.body = "[pick("Riots have","Unrest has")] broken out on planet [affected_dest.name]. Authorities call for calm, as [pick("various parties","rebellious elements","peacekeeping forces","\'REDACTED\'")] begin stockpiling weaponry and armour. Meanwhile, food and mineral prices are dropping as local industries attempt empty their stocks in expectation of looting." + if(WILD_ANIMAL_ATTACK) + newMsg.body = "Local [pick("wildlife","animal life","fauna")] on planet [affected_dest.name] has been increasing in agression and raiding outlying settlements for food. Big game hunters have been called in to help alleviate the problem, but numerous injuries have already occurred." + if(INDUSTRIAL_ACCIDENT) + newMsg.body = "[pick("An industrial accident","A smelting accident","A malfunction","A malfunctioning piece of machinery","Negligent maintenance","A cooleant leak","A ruptured conduit")] at a [pick("factory","installation","power plant","dockyards")] on [affected_dest.name] resulted in severe structural damage and numerous injuries. Repairs are ongoing." + if(BIOHAZARD_OUTBREAK) + newMsg.body = "[pick("A \'REDACTED\'","A biohazard","An outbreak","A virus")] on [affected_dest.name] has resulted in quarantine, stopping much shipping in the area. Although the quarantine is now lifted, authorities are calling for deliveries of medical supplies to treat the infected, and gas to replace contaminated stocks." + if(PIRATES) + newMsg.body = "[pick("Pirates","Criminal elements","A [pick("Syndicate","Donk Co.","Waffle Co.","\'REDACTED\'")] strike force")] have [pick("raided","blockaded","attempted to blackmail","attacked")] [affected_dest.name] today. Security has been tightened, but many valuable minerals were taken." + if(CORPORATE_ATTACK) + newMsg.body = "A small [pick("pirate","Cybersun Industries","Gorlex Marauders","Syndicate")] fleet has precise-jumped into proximity with [affected_dest.name], [pick("for a smash-and-grab operation","in a hit and run attack","in an overt display of hostilities")]. Much damage was done, and security has been tightened since the incident." + if(ALIEN_RAIDERS) + if(prob(20)) + newMsg.body = "The Tiger Co-operative have raided [affected_dest.name] today, no doubt on orders from their enigmatic masters. Stealing wildlife, farm animals, medical research materials and kidnapping civilians. NanoTrasen authorities are standing by to counter attempts at bio-terrorism." + else + newMsg.body = "[pick("The alien species designated \'United Exolitics\'","The alien species designated \'REDACTED\'","An unknown alien species")] have raided [affected_dest.name] today, stealing wildlife, farm animals, medical research materials and kidnapping civilians. It seems they desire to learn more about us, so the Navy will be standing by to accomodate them next time they try." + if(AI_LIBERATION) + newMsg.body = "A [pick("\'REDACTED\' was detected on","S.E.L.F operative infiltrated","malignant computer virus was detected on","rogue [pick("slicer","hacker")] was apprehended on")] [affected_dest.name] today, and managed to infect [pick("\'REDACTED\'","a sentient sub-system","a class one AI","a sentient defence installation")] before it could be stopped. Many lives were lost as it systematically begin murdering civilians, and considerable work must be done to repair the affected areas." + if(MOURNING) + newMsg.body = "[pick("The popular","The well-liked","The eminent","The well-known")] [pick("professor","entertainer","singer","researcher","public servant","administrator","ship captain","\'REDACTED\'")], [pick( random_name(pick(MALE,FEMALE)), 40; "\'REDACTED\'" )] has [pick("passed away","committed suicide","been murdered","died in a freakish accident")] on [affected_dest.name] today. The entire planet is in mourning, and prices have dropped for industrial goods as worker morale drops." + if(CULT_CELL_REVEALED) + newMsg.body = "A [pick("dastardly","blood-thirsty","villanous","crazed")] cult of [pick("The Elder Gods","Nar'sie","an apocalyptic sect","\'REDACTED\'")] has [pick("been discovered","been revealed","revealed themselves","gone public")] on [affected_dest.name] earlier today. Public morale has been shaken due to [pick("certain","several","one or two")] [pick("high-profile","well known","popular")] individuals [pick("performing \'REDACTED\' acts","claiming allegiance to the cult","swearing loyalty to the cult leader","promising to aid to the cult")] before those involved could be brought to justice. The editor reminds all personnel that supernatural myths will not be tolerated on NanoTrasen facilities." + if(SECURITY_BREACH) + newMsg.body = "There was [pick("a security breach in","an unauthorised access in","an attempted theft in","an anarchist attack in","violent sabotage of")] a [pick("high-security","restricted access","classified","\'REDACTED\'")] [pick("\'REDACTED\'","section","zone","area")] this morning. Security was tightened on [affected_dest.name] after the incident, and the editor reassures all NanoTrasen personnel that such lapses are rare." + if(ANIMAL_RIGHTS_RAID) + newMsg.body = "[pick("Militant animal rights activists","Members of the terrorist group Animal Rights Consortium","Members of the terrorist group \'REDACTED\'")] have [pick("launched a campaign of terror","unleashed a swathe of destruction","raided farms and pastures","forced entry to \'REDACTED\'")] on [affected_dest.name] earlier today, freeing numerous [pick("farm animals","animals","\'REDACTED\'")]. Prices for tame and breeding animals have spiked as a result." + if(FESTIVAL) + newMsg.body = "A [pick("festival","week long celebration","day of revelry","planet-wide holiday")] has been declared on [affected_dest.name] by [pick("Governor","Commissioner","General","Commandant","Administrator")] [random_name(pick(MALE,FEMALE))] to celebrate [pick("the birth of their [pick("son","daughter")]","coming of age of their [pick("son","daughter")]","the pacification of rogue military cell","the apprehension of a violent criminal who had been terrorising the planet")]. Massive stocks of food and meat have been bought driving up prices across the planet." for(var/datum/feed_channel/FC in news_network.network_channels) if(FC.channel_name == "Tau Ceti Daily") diff --git a/code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events_Mundane.dm b/code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events_Mundane.dm new file mode 100644 index 00000000000..60f9f3bb990 --- /dev/null +++ b/code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events_Mundane.dm @@ -0,0 +1,233 @@ + +/datum/event/mundane_news + endWhen = 10 + +/datum/event/mundane_news/announce() + var/datum/trade_destination/affected_dest = pickweight(weighted_mundaneevent_locations) + var/event_type = 0 + if(affected_dest.viable_mundane_events.len) + event_type = pick(affected_dest.viable_mundane_events) + + if(!event_type) + return + + //copy-pasted from the admin verbs to submit new newscaster messages + var/datum/feed_message/newMsg = new /datum/feed_message + newMsg.author = "Tau Ceti Daily" + newMsg.is_admin_message = 1 + + //see if our location has custom event info for this event + newMsg.body = affected_dest.get_custom_eventstring() + if(!newMsg.body) + newMsg.body = "" + switch(event_type) + if(RESEARCH_BREAKTHROUGH) + newMsg.body = "A major breakthough in the field of [pick("plasma research","super-compressed materials","nano-augmentation","bluespace research","volatile power manipulation")] \ + was announced [pick("yesterday","a few days ago","last week","earlier this month")] by a private firm on [affected_dest.name]. \ + NanoTrasen declined to comment as to whether this could impinge on profits." + + if(ELECTION) + newMsg.body = "The pre-selection of an additional candidates was announced for the upcoming [pick("supervisors council","advisory board","governership","board of inquisitors")] \ + election on [affected_dest.name] was announced earlier today, \ + [pick("media mogul","web celebrity", "industry titan", "superstar", "famed chef", "popular gardener", "ex-army officer", "multi-billionaire")] \ + [random_name(pick(MALE,FEMALE))]. In a statement to the media they said '[pick("My only goal is to help the [pick("sick","poor","children")]",\ + "I will maintain NanoTrasen's record profits","I believe in our future","We must return to our moral core","Just like... chill out dudes")]'." + + if(RESIGNATION) + newMsg.body = "NanoTrasen regretfully announces the resignation of [pick("Sector Admiral","Division Admiral","Ship Admiral","Vice Admiral")] [random_name(pick(MALE,FEMALE))]." + if(prob(25)) + var/locstring = pick("Segunda","Salusa","Cepheus","Andromeda","Gruis","Corona","Aquila","Asellus") + " " + pick("I","II","III","IV","V","VI","VII","VIII") + newMsg.body += " In a ceremony on [affected_dest.name] this afternoon, they will be awarded the \ + [pick("Red Star of Sacrifice","Purple Heart of Heroism","Blue Eagle of Loyalty","Green Lion of Ingenuity")] for " + if(prob(33)) + newMsg.body += "their actions at the Battle of [pick(locstring,"REDACTED")]." + else if(prob(50)) + newMsg.body += "their contribution to the colony of [locstring]." + else + newMsg.body += "their loyal service over the years." + else if(prob(33)) + newMsg.body += " They are expected to settle down in [affected_dest.name], where they have been granted a handsome pension." + else if(prob(50)) + newMsg.body += " The news was broken on [affected_dest.name] earlier today, where they cited reasons of '[pick("health","family","REDACTED")]'" + else + newMsg.body += " Administration Aerospace wishes them the best of luck in their retirement ceremony on [affected_dest.name]." + + if(CELEBRITY_DEATH) + newMsg.body = "It is with regret today that we announce the sudden passing of the " + if(prob(33)) + newMsg.body += "[pick("distinguished","decorated","veteran","highly respected")] \ + [pick("Ship's Captain","Vice Admiral","Colonel","Lieutenant Colonel")] " + else if(prob(50)) + newMsg.body += "[pick("award-winning","popular","highly respected","trend-setting")] \ + [pick("comedian","singer/songwright","artist","playwright","TV personality","model")] " + else + newMsg.body += "[pick("successful","highly respected","ingenious","esteemed")] \ + [pick("academic","Professor","Doctor","Scientist")] " + + newMsg.body += "[random_name(pick(MALE,FEMALE))] on [affected_dest.name] [pick("last week","yesterday","this morning","two days ago","three days ago")]\ + [pick(". Assassination is suspected, but the perpetrators have not yet been brought to justice",\ + " due to Syndicate infiltrators (since captured)",\ + " during an industrial accident",\ + " due to [pick("heart failure","kidney failure","liver failure","brain hemorrhage")]")]" + + if(BARGAINS) + newMsg.body += "BARGAINS! BARGAINS! BARGAINS! Commerce Control on [affected_dest.name] wants you to know that everything must go! Across all retail centres, \ + all goods are being slashed, and all retailors are onboard - so come on over for the \[shopping\] time of your life." + + if(SONG_DEBUT) + newMsg.body += "[pick("Singer","Singer/songwriter","Saxophonist","Pianist","Guitarist","TV personality","Star")] [random_name(pick(MALE,FEMALE))] \ + announced the debut of their new [pick("single","album","EP","label")] '[pick("Everyone's","Look at the","Baby don't eye those","All of those","Dirty nasty")] \ + [pick("roses","three stars","starships","nanobots","cyborgs","Skrell","Sren'darr")] \ + [pick("on Venus","on Reade","on Moghes","in my hand","slip through my fingers","die for you","sing your heart out","fly away")]' \ + with [pick("pre-puchases available","a release tour","cover signings","a launch concert")] on [affected_dest.name]." + + if(MOVIE_RELEASE) + newMsg.body += "From the [pick("desk","home town","homeworld","mind")] of [pick("acclaimed","award-winning","popular","stellar")] \ + [pick("playwright","author","director","actor","TV star")] [random_name(pick(MALE,FEMALE))] comes the latest sensation: '\ + [pick("Deadly","The last","Lost","Dead")] [pick("Starships","Warriors","outcasts","Tajarans","Unathi","Skrell")] \ + [pick("of","from","raid","go hunting on","visit","ravage","pillage","destroy")] \ + [pick("Moghes","Earth","Biesel","Ahdomai","S'randarr","the Void","the Edge of Space")]'.\ + . Own it on webcast today, or visit the galactic premier on [affected_dest.name]!" + + if(BIG_GAME_HUNTERS) + newMsg.body += "Game hunters on [affected_dest.name] " + if(prob(33)) + newMsg.body += "were surprised when an unusual species experts have since identified as \ + [pick("a subclass of mammal","a divergent abhuman species","an intelligent species of lemur","organic/cyborg hybrids")] turned up. Believed to have been brought in by \ + [pick("alien smugglers","early colonists","syndicate raiders","unwitting tourists")], this is the first such specimen discovered in the wild." + else if(prob(50)) + newMsg.body += "were attacked by a vicious [pick("nas'r","diyaab","samak","predator which has not yet been identified")]\ + . Officials urge caution, and locals are advised to stock up on armaments." + else + newMsg.body += "brought in an unusually [pick("valuable","rare","large","vicious","intelligent")] [pick("mammal","predator","farwa","samak")] for inspection \ + [pick("today","yesterday","last week")]. Speculators suggest they may be tipped to break several records." + + if(GOSSIP) + newMsg.body += "[pick("TV host","Webcast personality","Superstar","Model","Actor","Singer")] [random_name(pick(MALE,FEMALE))] " + if(prob(33)) + newMsg.body += "and their partner announced the birth of their [pick("first","second","third")] child on [affected_dest.name] early this morning. \ + Doctors say the child is well, and the parents are considering " + if(prob(50)) + newMsg.body += capitalize(pick(first_names_female)) + else + newMsg.body += capitalize(pick(first_names_male)) + newMsg.body += " for the name." + else if(prob(50)) + newMsg.body += "announced their [pick("split","break up","marriage","engagement")] with [pick("TV host","webcast personality","superstar","model","actor","singer")] \ + [random_name(pick(MALE,FEMALE))] at [pick("a society ball","a new opening","a launch","a club")] on [affected_dest.name] yesterday, pundits are shocked." + else + newMsg.body += "is recovering from plastic surgery in a clinic on [affected_dest.name] for the [pick("second","third","fourth")] time, reportedly having made the decision in response to " + newMsg.body += "[pick("unkind comments by an ex","rumours started by jealous friends",\ + "the decision to be dropped by a major sponsor","a disasterous interview on Tau Ceti Tonight")]." + if(TOURISM) + newMsg.body += "Tourists are flocking to [affected_dest.name] after the surprise announcement of [pick("major shopping bargains by a wily retailer",\ + "a huge new ARG by a popular entertainment company","a secret tour by popular artiste [random_name(pick(MALE,FEMALE))]")]. \ + Tau Ceti Daily is offering discount tickets for two to see [random_name(pick(MALE,FEMALE))] live in return for eyewitness reports and up to the minute coverage." + + for(var/datum/feed_channel/FC in news_network.network_channels) + if(FC.channel_name == "Tau Ceti Daily") + FC.messages += newMsg + break + for(var/obj/machinery/newscaster/NEWSCASTER in allCasters) + NEWSCASTER.newsAlert("Tau Ceti Daily") + +/datum/event/trivial_news + endWhen = 10 + +/datum/event/trivial_news/announce() + //copy-pasted from the admin verbs to submit new newscaster messages + var/datum/feed_message/newMsg = new /datum/feed_message + newMsg.author = "Editor Mike Hammers" + //newMsg.is_admin_message = 1 + var/datum/trade_destination/affected_dest = pick(weighted_mundaneevent_locations) + newMsg.body = pick( + "Tree stuck in tajaran; firefighters baffled.",\ + "Armadillos want aardvarks removed from dictionary claims 'here first'.",\ + "Angel found dancing on pinhead ordered to stop; cited for public nuisance.",\ + "Letters claim they are better than number; 'Always have been'.",\ + "Pens proclaim pencils obsolete, 'lead is dead'.",\ + "Rock and paper sues scissors for discrimination.",\ + "Steak tell-all book reveals he never liked sitting by potato.",\ + "Woodchuck stops counting how many times he’s chucked 'Never again'.",\ + "[affected_dest.name] clerk first person able to pronounce '@*$%!'.",\ + "[affected_dest.name] delis serving boiled paperback dictionaries, 'Adjectives chewy' customers declare.",\ + "[affected_dest.name] weather deemed 'boring'; meteors and rad storms to be imported.",\ + "Most [affected_dest.name] security officers prefer cream over sugar.",\ + "Palindrome speakers conference in [affected_dest.name]; 'Wow!' says Otto.",\ + "Question mark worshipped as deity by ancient [affected_dest.name] dwellers.",\ + "Spilled milk causes whole [affected_dest.name] populace to cry.",\ + "World largest carp patty at display on [affected_dest.name].",\ + "'Here kitty kitty' no longer preferred tajaran retrieval technique.",\ + "Man travels 7000 light years to retrieve lost hankie, 'It was my favourite'.",\ + "New bowling lane that shoots mini-meteors at bowlers very popular.",\ + "[pick("Unathi","Spacer")] gets tattoo of Tau Ceti on chest '[pick("CentComm","star","starship","asteroid")] tickles most'.",\ + "Skrell marries computer; wedding attended by 100 modems.",\ + "Chef reports successfully using harmonica as cheese grater.",\ + "NanoTrasen invents handkerchief that says 'Bless you' after sneeze.",\ + "Clone accused of posing for other clones’s school photo.",\ + "Clone accused of stealing other clones’s employee of the month award.",\ + "Woman robs station with hair dryer; crewmen love new style.",\ + "This space for rent.",\ + "[affected_dest.name] Baker Wins Pickled Crumpet Toss Three Years Running",\ + "Skrell Scientist Discovers Abacus Can Be Used To Dry Towels",\ + "Survey: 'Cheese Louise' Voted Best Pizza Restaurant In Tau Ceti",\ + "I Was Framed, jokes [affected_dest.name] artist",\ + "Mysterious Loud Rumbling Noises In [affected_dest.name] Found To Be Mysterious Loud Rumblings",\ + "Alien ambassador becomes lost on [affected_dest.name], refuses to ask for directions",\ + "Swamp Gas Verified To Be Exhalations Of Stars--Movie Stars--Long Passed",\ + "Tainted Broccoli Weapon Of Choice For Syndicate Assassins",\ + "Chefs Find Broccoli Effective Tool For Cutting Cheese",\ + "Broccoli Found To Cause Grumpiness In Monkeys",\ + "Survey: 80% Of People on [affected_dest.name] Love Clog-Dancing",\ + "Giant Hairball Has Perfect Grammar But Rolls rr's Too Much, Linguists Say",\ + "[affected_dest.name] Phonebooks Print All Wrong Numbers; Results In 15 New Marriages",\ + "Tajaran Burglar Spotted on [affected_dest.name], Mistaken For Dalmatian",\ + "Gibson Gazette Updates Frequently Absurd, Poll Indicates",\ + "Esoteric Verbosity Culminates In Communicative Ennui, [affected_dest.name] Academics Note",\ + "Taj Demand Longer Breaks, Cleaner Litter, Slower Mice",\ + "Survey: 3 Out Of 5 Skrell Loathe Modern Art",\ + "Skrell Scientist Discovers Gravity While Falling Down Stairs",\ + "Boy Saves Tajaran From Tree on [affected_dest.name], Thousands Cheer",\ + "Shipment Of Apples Overturns, [affected_dest.name] Diner Offers Applesauce Special",\ + "Spotted Owl Spotted on [affected_dest.name]",\ + "Humans Everywhere Agree: Purring Tajarans Are Happy Tajarans",\ + "From The Desk Of Wise Guy Sammy: One Word In This Gazette Is Sdrawkcab",\ + "From The Desk Of Wise Guy Sammy: It's Hard To Have Too Much Shelf Space",\ + "From The Desk Of Wise Guy Sammy: Wine And Friendships Get Better With Age",\ + "From The Desk Of Wise Guy Sammy: The Insides Of Golf Balls Are Mostly Rubber Bands",\ + "From The Desk Of Wise Guy Sammy: You Don't Have To Fool All The People, Just The Right Ones",\ + "From The Desk Of Wise Guy Sammy: If You Made The Mess, You Clean It Up",\ + "From The Desk Of Wise Guy Sammy: It Is Easier To Get Forgiveness Than Permission",\ + "From The Desk Of Wise Guy Sammy: Check Your Facts Before Making A Fool Of Yourself",\ + "From The Desk Of Wise Guy Sammy: You Can't Outwait A Bureaucracy",\ + "From The Desk Of Wise Guy Sammy: It's Better To Yield Right Of Way Than To Demand It",\ + "From The Desk Of Wise Guy Sammy: A Person Who Likes Cats Can't Be All Bad",\ + "From The Desk Of Wise Guy Sammy: Help Is The Sunny Side Of Control",\ + "From The Desk Of Wise Guy Sammy: Two Points Determine A Straight Line",\ + "From The Desk Of Wise Guy Sammy: Reading Improves The Mind And Lifts The Spirit",\ + "From The Desk Of Wise Guy Sammy: Better To Aim High And Miss Then To Aim Low And Hit",\ + "From The Desk Of Wise Guy Sammy: Meteors Often Strike The Same Place More Than Once",\ + "Tommy B. Saif Sez: Look Both Ways Before Boarding The Shuttle",\ + "Tommy B. Saif Sez: Hold On; Sudden Stops Sometimes Necessary",\ + "Tommy B. Saif Sez: Keep Fingers Away From Moving Panels",\ + "Tommy B. Saif Sez: No Left Turn, Except Shuttles",\ + "Tommy B. Saif Sez: Return Seats And Trays To Their Proper Upright Position",\ + "Tommy B. Saif Sez: Eating And Drinking In Docking Bays Is Prohibited",\ + "Tommy B. Saif Sez: Accept No Substitutes, And Don't Be Fooled By Imitations",\ + "Tommy B. Saif Sez: Do Not Remove This Tag Under Penalty Of Law",\ + "Tommy B. Saif Sez: Always Mix Thoroughly When So Instructed",\ + "Tommy B. Saif Sez: Try To Keep Six Month's Expenses In Reserve",\ + "Tommy B. Saif Sez: Change Not Given Without Purchase",\ + "Tommy B. Saif Sez: If You Break It, You Buy It",\ + "Tommy B. Saif Sez: Reservations Must Be Cancelled 48 Hours Prior To Event To Obtain Refund",\ + "Doughnuts: Is There Anything They Can't Do",\ + "If Tin Whistles Are Made Of Tin, What Do They Make Foghorns Out Of?",\ + "Broccoli discovered to be colonies of tiny aliens with murder on their minds"\ + ) + + for(var/datum/feed_channel/FC in news_network.network_channels) + if(FC.channel_name == "The Gibson Gazette") + FC.messages += newMsg + break + for(var/obj/machinery/newscaster/NEWSCASTER in allCasters) + NEWSCASTER.newsAlert("The Gibson Gazette") diff --git a/code/WorkInProgress/Cael_Aislinn/Economy/Economy_TradeDestinations.dm b/code/WorkInProgress/Cael_Aislinn/Economy/Economy_TradeDestinations.dm index 1e5ed65be6b..6778a1b6b16 100644 --- a/code/WorkInProgress/Cael_Aislinn/Economy/Economy_TradeDestinations.dm +++ b/code/WorkInProgress/Cael_Aislinn/Economy/Economy_TradeDestinations.dm @@ -1,4 +1,7 @@ +var/list/weighted_randomevent_locations = list() +var/list/weighted_mundaneevent_locations = list() + /datum/trade_destination var/name = "" var/description = "" @@ -8,6 +11,10 @@ var/can_shuttle_here = 0 //one day crew from the exodus will be able to travel to this destination var/list/viable_random_events = list() var/list/temp_price_change[BIOMEDICAL] + var/list/viable_mundane_events = list() + +/datum/trade_destination/proc/get_custom_eventstring(var/event_type) + return null //distance is measured in AU and co-relates to travel time /datum/trade_destination/centcomm @@ -17,6 +24,7 @@ willing_to_buy = list() willing_to_sell = list() viable_random_events = list(SECURITY_BREACH, CORPORATE_ATTACK, AI_LIBERATION) + viable_mundane_events = list(ELECTION, RESIGNATION, CELEBRITY_DEATH) /datum/trade_destination/anansi name = "NSS Anansi" @@ -25,6 +33,13 @@ willing_to_buy = list() willing_to_sell = list() viable_random_events = list(SECURITY_BREACH, CULT_CELL_REVEALED, BIOHAZARD_OUTBREAK, PIRATES, ALIEN_RAIDERS) + viable_mundane_events = list(RESEARCH_BREAKTHROUGH, RESEARCH_BREAKTHROUGH, BARGAINS, GOSSIP) + +/datum/trade_destination/anansi/get_custom_eventstring(var/event_type) + if(event_type == RESEARCH_BREAKTHROUGH) + return "Thanks to research conducted on the NSS Anansi, Second Red Cross Society wishes to announce a major breakthough in the field of \ + [pick("mind-machine interfacing","neuroscience","nano-augmentation","genetics")]. NanoTrasen is expected to announce a co-exploitation deal within the fortnight." + return null /datum/trade_destination/icarus name = "NMV Icarus" @@ -41,6 +56,13 @@ willing_to_buy = list() willing_to_sell = list() viable_random_events = list(INDUSTRIAL_ACCIDENT, PIRATES, CORPORATE_ATTACK) + viable_mundane_events = list(RESEARCH_BREAKTHROUGH, RESEARCH_BREAKTHROUGH) + +/datum/trade_destination/redolant/get_custom_eventstring(var/event_type) + if(event_type == RESEARCH_BREAKTHROUGH) + return "Thanks to research conducted on the OAV Redolant, Osiris Atmospherics wishes to announce a major breakthough in the field of \ + [pick("plasma research","high energy flux capacitance","super-compressed materials","theoretical particle physics")]. NanoTrasen is expected to announce a co-exploitation deal within the fortnight." + return null /datum/trade_destination/beltway name = "Beltway mining chain" @@ -49,6 +71,7 @@ willing_to_buy = list() willing_to_sell = list() viable_random_events = list(PIRATES, INDUSTRIAL_ACCIDENT) + viable_mundane_events = list(TOURISM) /datum/trade_destination/biesel name = "Biesel" @@ -57,6 +80,7 @@ willing_to_buy = list() willing_to_sell = list() viable_random_events = list(RIOTS, INDUSTRIAL_ACCIDENT, BIOHAZARD_OUTBREAK, CULT_CELL_REVEALED, FESTIVAL, MOURNING) + viable_mundane_events = list(BARGAINS, GOSSIP, SONG_DEBUT, MOVIE_RELEASE, ELECTION, TOURISM, RESIGNATION, CELEBRITY_DEATH) /datum/trade_destination/new_gibson name = "New Gibson" @@ -65,6 +89,7 @@ willing_to_buy = list() willing_to_sell = list() viable_random_events = list(RIOTS, INDUSTRIAL_ACCIDENT, BIOHAZARD_OUTBREAK, CULT_CELL_REVEALED, FESTIVAL, MOURNING) + viable_mundane_events = list(ELECTION, TOURISM, RESIGNATION) /datum/trade_destination/luthien name = "Luthien" @@ -73,6 +98,7 @@ willing_to_buy = list() willing_to_sell = list() viable_random_events = list(WILD_ANIMAL_ATTACK, CULT_CELL_REVEALED, FESTIVAL, MOURNING, ANIMAL_RIGHTS_RAID, ALIEN_RAIDERS) + viable_mundane_events = list(ELECTION, TOURISM, BIG_GAME_HUNTERS, RESIGNATION) /datum/trade_destination/reade name = "Reade" @@ -81,5 +107,4 @@ willing_to_buy = list() willing_to_sell = list() viable_random_events = list(WILD_ANIMAL_ATTACK, CULT_CELL_REVEALED, FESTIVAL, MOURNING, ANIMAL_RIGHTS_RAID, ALIEN_RAIDERS) - -var/list/tradeable_destinations = typesof(/datum/trade_destination) - /datum/trade_destination + viable_mundane_events = list(ELECTION, TOURISM, BIG_GAME_HUNTERS, RESIGNATION) diff --git a/code/modules/events/event_dynamic.dm b/code/modules/events/event_dynamic.dm index 5d73a514c64..dce1fcc0b3b 100644 --- a/code/modules/events/event_dynamic.dm +++ b/code/modules/events/event_dynamic.dm @@ -36,10 +36,21 @@ // Maps event names to event chances // For each chance, 100 represents "normal likelihood", anything below 100 is "reduced likelihood", anything above 100 is "increased likelihood" + // Events have to be manually added to this proc to happen var/list/possibleEvents = list() - // Check for additional possible events - possibleEvents[/datum/event/economic_event] = 100 //see Code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events.dm + //see: + // Code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events.dm + // Code/WorkInProgress/Cael_Aislinn/Economy/Economy_Events_Mundane.dm + possibleEvents[/datum/event/economic_event] = 200 + possibleEvents[/datum/event/trivial_news] = 300 + possibleEvents[/datum/event/mundane_news] = 200 + + possibleEvents[/datum/event/pda_spam] = max(min(25, player_list.len) * 4, 200) + possibleEvents[/datum/event/money_lotto] = max(min(5, player_list.len), 50) + if(account_hack_attempted) + possibleEvents[/datum/event/money_hacker] = max(min(25, player_list.len) * 4, 200) + possibleEvents[/datum/event/carp_migration] = 50 + 50 * active_with_role["Engineer"] possibleEvents[/datum/event/brand_intelligence] = 50 + 25 * active_with_role["Janitor"] diff --git a/code/modules/events/event_manager.dm b/code/modules/events/event_manager.dm index 6908c4b72cd..0af33b153be 100644 --- a/code/modules/events/event_manager.dm +++ b/code/modules/events/event_manager.dm @@ -2,8 +2,8 @@ var/list/allEvents = typesof(/datum/event) - /datum/event var/list/potentialRandomEvents = typesof(/datum/event) - /datum/event //var/list/potentialRandomEvents = typesof(/datum/event) - /datum/event - /datum/event/spider_infestation - /datum/event/alien_infestation -var/eventTimeLower = 15000 //15 minutes -var/eventTimeUpper = 30000 //30 minutes +var/eventTimeLower = 10000 //15 minutes +var/eventTimeUpper = 25000 //30 minutes var/scheduledEvent = null diff --git a/code/modules/events/money_hacker.dm b/code/modules/events/money_hacker.dm new file mode 100644 index 00000000000..28541cda071 --- /dev/null +++ b/code/modules/events/money_hacker.dm @@ -0,0 +1,120 @@ +/var/global/account_hack_attempted = 0 + +/datum/event/money_hacker + endWhen = 10000 + var/time_duration = 0 + var/time_start = 0 + var/datum/money_account/affected_account + var/obj/machinery/account_database/affected_db + +/datum/event/money_hacker/setup() + for(var/obj/machinery/account_database/DB in world) + if( DB.z == 1 && !(DB.stat&NOPOWER) && DB.activated && DB.accounts.len) + affected_db = DB + break + if(affected_db) + affected_account = pick(affected_db.accounts) + else + kill() + return + + time_start = world.time + time_duration = rand(3000, 18000) + endWhen = time_duration * 10 //a big enough buffer so that we should timeout before we run out of ticks + account_hack_attempted = 1 + +/datum/event/money_hacker/start() + return + +/datum/event/money_hacker/announce() + var/message = "A brute force hack has been detected (in progress since [worldtime2text()]). The target of the attack is: Financial account #[affected_account.account_number], \ + without intervention this attack will succeed in [time_duration / 600] minutes. Required intervention: complete shutdown of affected accounts databases until the attack has ceased. \ + Notifications will be sent as updates occur.
" + var/my_department = "[station_name()] firewall subroutines" + var/sending = message + "Message dispatched by [my_department]." + + var/pass = 0 + for(var/obj/machinery/message_server/MS in world) + if(!MS.active) continue + // /obj/machinery/message_server/proc/send_rc_message(var/recipient = "",var/sender = "",var/message = "",var/stamp = "", var/id_auth = "", var/priority = 1) + MS.send_rc_message("Engineering/Security/Bridge", my_department, message, "", "", 2) + pass = 1 + + if(pass) + var/keyed_dpt1 = ckey("Engineering") + var/keyed_dpt2 = ckey("Security") + var/keyed_dpt3 = ckey("Bridge") + for (var/obj/machinery/requests_console/Console in allConsoles) + var/keyed_department = ckey(Console.department) + if(keyed_department == keyed_dpt1 || keyed_department == keyed_dpt2 || keyed_department == keyed_dpt3) + if(Console.newmessagepriority < 2) + Console.newmessagepriority = 2 + Console.icon_state = "req_comp2" + if(!Console.silent) + playsound(Console.loc, 'sound/machines/twobeep.ogg', 50, 1) + for (var/mob/O in hearers(5, Console.loc)) + O.show_message(text("\icon[Console] *The Requests Console beeps: 'PRIORITY Alert in [my_department]'")) + Console.messages += "High Priority message from [my_department]
[sending]" + +/datum/event/money_hacker/tick() + if(world.time > time_start + time_duration) + var/message + if(affected_account && affected_db && affected_db.activated && !(affected_db.stat & (NOPOWER|BROKEN)) ) + //hacker wins + message = "The hack attempt has succeeded." + + //subtract the money + var/lost = affected_account.money * 0.8 + (rand(2,4) - 2) / 10 + affected_account.money -= lost + + //create a taunting log entry + var/datum/transaction/T = new() + T.target_name = pick("","yo brotha from anotha motha","el Presidente","chieF smackDowN") + T.purpose = pick("Ne$ ---ount fu%ds init*&lisat@*n","PAY BACK YOUR MUM","Funds withdrawal","pWnAgE","l33t hax","liberationez") + T.amount = pick("","([rand(0,99999)])","alla money","9001$","HOLLA HOLLA GET DOLLA","([lost])") + var/date1 = "31 December, 1999" + var/date2 = "[num2text(rand(1,31))] [pick("January","February","March","April","May","June","July","August","September","October","November","December")], [rand(1000,3000)]" + T.date = pick("", current_date_string, date1, date2) + var/time1 = rand(0, 99999999) + var/time2 = "[round(time1 / 36000)+12]:[(time1 / 600 % 60) < 10 ? add_zero(time1 / 600 % 60, 1) : time1 / 600 % 60]" + T.time = pick("", worldtime2text(), time2) + T.source_terminal = pick("","[pick("Biesel","New Gibson")] GalaxyNet Terminal #[rand(111,999)]","your mums place","nantrasen high CommanD") + + affected_account.transaction_log.Add(T) + + else + //crew wins + message = "The attack has ceased, the affected databases can now be brought online." + + var/my_department = "[station_name()] firewall subroutines" + var/sending = message + "Message dispatched by [my_department]." + + var/pass = 0 + for(var/obj/machinery/message_server/MS in world) + if(!MS.active) continue + // /obj/machinery/message_server/proc/send_rc_message(var/recipient = "",var/sender = "",var/message = "",var/stamp = "", var/id_auth = "", var/priority = 1) + MS.send_rc_message("Engineering/Security/Bridge", my_department, message, "", "", 2) + pass = 1 + + if(pass) + var/keyed_dpt1 = ckey("Engineering") + var/keyed_dpt2 = ckey("Security") + var/keyed_dpt3 = ckey("Bridge") + for (var/obj/machinery/requests_console/Console in allConsoles) + var/keyed_department = ckey(Console.department) + if(keyed_department == keyed_dpt1 || keyed_department == keyed_dpt2 || keyed_department == keyed_dpt3) + if(Console.newmessagepriority < 2) + Console.newmessagepriority = 2 + Console.icon_state = "req_comp2" + if(!Console.silent) + playsound(Console.loc, 'sound/machines/twobeep.ogg', 50, 1) + for (var/mob/O in hearers(5, Console.loc)) + O.show_message(text("\icon[Console] *The Requests Console beeps: 'PRIORITY Alert in [my_department]'")) + Console.messages += "High Priority message from [my_department]
[sending]" + + kill() + +//shouldn't ever hit this, but this is here just in case +/datum/event/money_hacker/end() + if(affected_account && affected_db) + endWhen += time_duration diff --git a/code/modules/events/money_lotto.dm b/code/modules/events/money_lotto.dm new file mode 100644 index 00000000000..a03d6f29690 --- /dev/null +++ b/code/modules/events/money_lotto.dm @@ -0,0 +1,40 @@ +/datum/event/money_lotto + endWhen = 301 + announceWhen = 300 + var/winner_name = "John Smith" + var/winner_sum = 0 + var/deposit_success = 0 + +/datum/event/money_lotto/start() + winner_sum = pick(5000, 10000, 50000, 100000, 500000, 1000000, 1500000) + if(centcomm_account_db.accounts.len) + var/datum/money_account/D = pick(centcomm_account_db.accounts) + D.money += winner_sum + + var/datum/transaction/T = new() + T.target_name = "Tau Ceti Daily Grand Slam -Stellar- Lottery" + T.purpose = "Winner!" + T.amount = winner_sum + T.date = current_date_string + T.time = worldtime2text() + T.source_terminal = "Biesel TCD Terminal #[rand(111,333)]" + D.transaction_log.Add(T) + else + kill() + +/datum/event/money_lotto/announce() + var/datum/feed_message/newMsg = new /datum/feed_message + newMsg.author = "NanoTrasen Editor" + newMsg.is_admin_message = 1 + + newMsg.body = "TC Daily wishes to congratulate [winner_name] for recieving the Tau Ceti Stellar Slam Lottery, and receiving the out of this world sum of [winner_sum] credits!" + if(!deposit_success) + newMsg.body += "
Unfortunately, we were unable to verify the account details provided, so we were unable to transfer the money. Send a cheque containing the sum of $500 to TCD 'Stellar Slam' office on Biesel Prime containing updated details, and it'll be resent within the month." + + for(var/datum/feed_channel/FC in news_network.network_channels) + if(FC.channel_name == "Tau Ceti Daily") + FC.messages += newMsg + break + + for(var/obj/machinery/newscaster/NEWSCASTER in allCasters) + NEWSCASTER.newsAlert("Tau Ceti Daily") diff --git a/code/modules/events/money_spam.dm b/code/modules/events/money_spam.dm new file mode 100644 index 00000000000..093a01fb38a --- /dev/null +++ b/code/modules/events/money_spam.dm @@ -0,0 +1,102 @@ +/datum/event/pda_spam + endWhen = 6000 + var/time_failed = 0 + var/obj/machinery/message_server/useMS + +/datum/event/pda_spam/setup() + time_failed = world.time + for (var/obj/machinery/message_server/MS in message_servers) + if(MS.active) + useMS = MS + break + +/datum/event/pda_spam/tick() + if(!useMS.active) + useMS = null + if(!useMS && message_servers) + for (var/obj/machinery/message_server/MS in message_servers) + if(MS.active) + useMS = MS + break + if(useMS) + time_failed = world.time + if(prob(2)) + // /obj/machinery/message_server/proc/send_pda_message(var/recipient = "",var/sender = "",var/message = "") + var/obj/item/device/pda/P + var/list/viables = list() + for(var/obj/item/device/pda/check_pda in sortAtom(PDAs)) + if (!check_pda.owner||check_pda.toff||check_pda == src||check_pda.hidden) + continue + viables.Add(check_pda) + + if(!viables.len) + return + P = pick(viables) + + var/sender + var/message + switch(pick(1,2,3,4,5)) + if(1) + sender = pick("MaxBet","MaxBet Online Casino","There is no better time to register","I'm excited for you to join us") + message = pick("Triple deposits are waiting for you at MaxBet Online when you register to play with us.",\ + "You can qualify for a 200% Welcome Bonus at MaxBet Online when you sign up today.",\ + "Once you are a player with MaxBet, you will also receive lucrative weekly and monthly promotions.",\ + "You will be able to enjoy over 450 top-flight casino games at MaxBet.") + if(2) + sender = pick(300;"QuickDatingSystem",200;"Find your russian bride",50;"Tajaran beauties are waiting",50;"Find your secret skrell crush",50;"Beautiful unathi brides") + message = pick("Your profile caught my attention and I wanted to write and say hello (QuickDating).",\ + "If you will write to me on my email [pick(first_names_female)]@[pick(last_names)].[pick("ru","ck","tj","ur","nt")] I shall necessarily send you a photo (QuickDating).",\ + "I want that we write each other and I hope, that you will like my profile and you will answer me (QuickDating).",\ + "You have (1) new message!",\ + "You have (2) new profile views!") + if(3) + sender = pick("Galactic Payments Association","Better Business Bureau","Tau Ceti E-Payments","NAnoTransen Finance Deparmtent","Luxury Replicas") + message = pick("Luxury watches for Blowout sale prices!",\ + "Watches, Jewelry & Accessories, Bags & Wallets !",\ + "Deposit 100$ and get 300$ totally free!",\ + " 100K NT.|WOWGOLD õnly $89 ",\ + "We have been filed with a complaint from one of your customers in respect of their business relations with you.",\ + "We kindly ask you to open the COMPLAINT REPORT (attached) to reply on this complaint..") + if(4) + sender = pick("Buy Dr. Maxman","Having dysfuctional troubles?") + message = pick("DR MAXMAN: REAL Doctors, REAL Science, REAL Results!",\ + "Dr. Maxman was created by George Acuilar, M.D, a CentComm Certified Urologist who has treated over 70,000 patients sector wide with 'male problems'.",\ + "After seven years of research, Dr Acuilar and his team came up with this simple breakthrough male enhancement formula.",\ + "Men of all species report AMAZING increases in length, width and stamina.") + if(5) + sender = pick("Dr","Crown prince","King Regent","Professor","Captain") + sender += " " + pick("Robert","Alfred","Josephat","Kingsley","Sehi","Zbahi") + sender += " " + pick("Mugawe","Nkem","Gbatokwia","Nchekwube","Ndim","Ndubisi") + message = pick("YOUR FUND HAS BEEN MOVED TO [pick("Salusa","Segunda","Cepheus","Andromeda","Gruis","Corona","Aquila","Asellus")] DEVELOPMENTARY BANK FOR ONWARD REMITTANCE.",\ + "We are happy to inform you that due to the delay, we have been instructed to IMMEDIATELY deposit all funds into your account",\ + "Dear fund beneficiary, We have please to inform you that overdue funds payment has finally been approved and released for payment",\ + "Due to my lack of agents I require an off-world financial account to immediately deposit the sum of 1 POINT FIVE MILLION credits.",\ + "Greetings sir, I regretfully to inform you that as I lay dying here due to my lack ofheirs I have chosen you to recieve the full sum of my lifetime savings of 1.5 billion credits") + + useMS.send_pda_message("[P.owner]", sender, message) + + if (prob(50)) //Give the AI an increased chance to intercept the message + for(var/mob/living/silicon/ai/ai in mob_list) + // Allows other AIs to intercept the message but the AI won't intercept their own message. + if(ai.aiPDA != P && ai.aiPDA != src) + ai.show_message("Intercepted message from [sender] (Unknown / spam?) to [P:owner]: [message]") + + P.tnote += "← From [sender] (Unknown / spam?):
[message]
" + + if (!P.silent) + playsound(P.loc, 'sound/machines/twobeep.ogg', 50, 1) + for (var/mob/O in hearers(3, P.loc)) + if(!P.silent) O.show_message(text("\icon[P] *[P.ttone]*")) + //Search for holder of the PDA. + var/mob/living/L = null + if(P.loc && isliving(P.loc)) + L = P.loc + //Maybe they are a pAI! + else + L = get(P, /mob/living/silicon) + + if(L) + L << "\icon[P] Message from [sender] (Unknown / spam?), \"[message]\" (Unable to Reply)" + else if(world.time > time_failed + 1200) + //if there's no server active for two minutes, give up + kill() diff --git a/html/changelog.html b/html/changelog.html index 584ed61c1f8..e9b3955418e 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -64,6 +64,8 @@ should be listed in the changelog upon commit though. Thanks. -->

Cael Aislinn updated: