From 5edc1378f8dc8441d5d8f384f312ac4a111530f5 Mon Sep 17 00:00:00 2001 From: Arkatos1 Date: Fri, 5 Apr 2019 14:43:38 +0200 Subject: [PATCH] New tips, renamed show tip verb, new Random Tip verb --- code/game/verbs/randomtip.dm | 16 ++++++++++++++++ code/modules/admin/verbs/randomverbs.dm | 4 ++-- paradise.dme | 1 + strings/sillytips.txt | 7 ++++--- strings/tips.txt | 15 +++++++++------ 5 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 code/game/verbs/randomtip.dm diff --git a/code/game/verbs/randomtip.dm b/code/game/verbs/randomtip.dm new file mode 100644 index 00000000000..ff727110ba1 --- /dev/null +++ b/code/game/verbs/randomtip.dm @@ -0,0 +1,16 @@ +/client/verb/randomtip() + set category = "OOC" + set name = "Random Tip" + set desc = "Shows you a random tip" + + var/m + + var/list/randomtips = file2list("strings/tips.txt") + var/list/memetips = file2list("strings/sillytips.txt") + if(randomtips.len && prob(95)) + m = pick(randomtips) + else if(memetips.len) + m = pick(memetips) + + if(m) + to_chat(src, "Random Tip: [html_encode(m)]") diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 61b3c6d1eec..0a80079562b 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -1022,7 +1022,7 @@ Traitors and the like can also be revived with the previous role mostly intact. /client/proc/show_tip() set category = "Admin" - set name = "Show Tip" + set name = "Show Custom Tip" set desc = "Sends a tip (that you specify) to all players. After all \ you're the experienced player here." @@ -1042,7 +1042,7 @@ Traitors and the like can also be revived with the previous role mostly intact. if(ticker.tipped) ticker.send_tip_of_the_round() - message_admins("[key_name_admin(usr)] sent a tip of the round.") + message_admins("[key_name_admin(usr)] sent a Tip of the round.") log_admin("[key_name(usr)] sent \"[input]\" as the Tip of the Round.") /client/proc/modify_goals() diff --git a/paradise.dme b/paradise.dme index 3fd34a5ab06..4fc9677e924 100644 --- a/paradise.dme +++ b/paradise.dme @@ -1107,6 +1107,7 @@ #include "code\game\turfs\unsimulated\floor.dm" #include "code\game\turfs\unsimulated\walls.dm" #include "code\game\verbs\ooc.dm" +#include "code\game\verbs\randomtip.dm" #include "code\game\verbs\suicide.dm" #include "code\game\verbs\who.dm" #include "code\js\byjax.dm" diff --git a/strings/sillytips.txt b/strings/sillytips.txt index cd0b30ea667..cf49a79c0c7 100644 --- a/strings/sillytips.txt +++ b/strings/sillytips.txt @@ -11,7 +11,6 @@ Sometimes a round will just be a bust. C'est la vie. This is a game that is constantly being developed for. Expect things to be added, removed, fixed, and broken on a daily basis. It's fun to try and predict the round type from the tip of the round message. The quartermaster is not a head of staff and will never be one. -The bird remembers. Your sprite represents your hitbox, so that afro makes you easier to kill. The sacrifices we make for style. Sometimes admins will just do stuff. Roll with it. The remake will never come out. @@ -21,11 +20,13 @@ This game is older than most of the people playing it. Flashbangs can weaken blob tiles, allowing for you and the crew to easily destroy them. Some people are unable to read text on a game where half of it is based on text. There are many ways to get through plastic flaps. How many can you name? -FEED ME A STRAY CAT +Nanotrasen is always watching. Most items have names longer than "soap". Ask and you shall receive. As a Scientist, getting drunk just enough will speed up research. Skol! Poly speaks truth Absolutely nothing unusual will happen this shift. Promise. Send help. Trapped in tip writing factory. -There is no such thing as a cow level. \ No newline at end of file +There is no such thing as a cow level. +HONK. +Solars probably gives radiation poisoning or something, considering the other power sources are deadly in their own ways. \ No newline at end of file diff --git a/strings/tips.txt b/strings/tips.txt index 379dbdc9b5a..b25a01e0b2d 100644 --- a/strings/tips.txt +++ b/strings/tips.txt @@ -49,6 +49,7 @@ As a Geneticist, becoming a hulk makes you capable of dealing high melee damage, As the Virologist, your viruses can range from healing powers so great that you can heal out of critical status, or diseases so dangerous they can kill the entire crew with airborne spontaneous combustion. Experiment! As the Research Director, you can take AIs out of their cores by loading them into an intelliCard, which lets you see their laws, even ion/syndicate ones. It can then be placed into an AI system integrity restorer computer to revive and/or repair them. As the Research Director, you can lock down cyborgs instead of blowing them up. Then you can have their laws reset or if that doesn't work, safely dismantled. +As the Research Director, you can spy on and even forge PDA communications with the message monitor console! The key is in your office. As a Scientist, you can maximize the number of uses you get out of a slime by feeding it slime steroid, created from purple slimes, while alive. You can then apply extract enhancer, created from cerulean slimes, on each extract. As a Scientist, you can disable anomalies by scanning them with an analyzer, then send a signal on the frequency it gives you with a remote signaling device, or if researched, hit the anomaly an anomaly analyzer. This will leave behind an anomaly core, which can be used to construct a Phazon mech or reactive armors! As a Scientist, researchable stock parts can seriously improve the efficiency and speed of machines around the station. In some cases, it can even unlock new functions. @@ -68,7 +69,6 @@ As a Medical Cyborg, you can fully perform surgery and even augment people. As a Janitor Cyborg, you are the bane of all slaughter demons. Cleaning up blood stains will severely gimp them. As the Chief Engineer, you can rename areas or create entirely new ones using your station blueprints. As the Chief Engineer, your hardsuit is significantly better than everybody else's. It has the best features of both engineering and atmospherics hardsuits - boasting nigh-invulnerability to radiation and all atmospheric conditions. -As the Chief Engineer, you can spy on and even forge PDA communications with the message monitor console! The key is in your office. As the Chief Engineer, the power flow control console in your office will show you APC infos and lets you control them remotely. As an Engineer, you can electrify grilles by placing wire "nodes" beneath them: the big seemingly unconnected bulges from a half completed wiring job. The wire will be need to be connected to an active power source in order to function. As an Engineer, return to Engineering once in a while to check on the engine and SMES cells. It's always a good idea to make sure containment isn't compromised. @@ -78,10 +78,9 @@ As an Engineer, you can repair windows by using a welding tool on them while on As an Engineer, you can lock APCs, fire alarms, emitters and radiation collectors using your ID card to prevent others from disabling them. As an Engineer, don't underestimate the humble P.A.C.M.A.N. generators. With upgraded parts, a couple units working in tandem are sufficient to take over for an exploded engine or shattered solars. As an Engineer, you can pry open secure storage blast doors by disabling the engine room APC's main breaker. This is obviously a bad idea if the engine is running. -As an Engineer, your RCD can be reloaded with metal, glass or plasteel sheets instead of just compressed matter cartridges. As an Atmospheric Technician, look into replacing your gas pumps with volumetric gas pumps, as those move air in flat numerical amounts, rather than percentages which leave trace gases. As an Atmospheric Technician, you are better suited to fighting fires than anyone else. As such, you have access to better firesuits, backpack firefighter tanks, and a completely heat and fire proof hardsuit. -As an Atmospheric Technician, your backpack firefighter tank can launch cryofrost. This resin will extinguish fires and very quickly; it's ideal for plasma fires!. +As an Atmospheric Technician, your backpack firefighter tank can launch cryofrost. This resin will extinguish fires and very quickly; it's ideal for plasma fires! As an Atmospheric Technician, your ATMOS holofan projector blocks gases while allowing objects to pass through. With it, you can quickly contain gas spills, fires and hull breaches. Or, use it to seal a plasmaman cloning room. As the Head of Security, you are expected to coordinate your security force to handle any threat that comes to the station. Sometimes it means making use of the armory to handle a blob, sometimes it means being ruthless during a vampire or cult incursion. As the Head of Security, don't let the power go to your head. You may have high access, great equipment, and a miniature army at your side, but being a terrible person without a good reason is grounds for banning. @@ -114,8 +113,9 @@ As a Botanist, you can hack the MegaSeed Vendor to get access to more exotic see As a Botanist, you can mutate the plants growing in your hydroponics trays with unstable mutagen or, as an alternative, crude radioactives from chemistry to get special variations. As a Botanist, you should look into increasing the potency of your plants. This increases the size, amount of chemicals, points gained from grinding them in the biogenerator, and lets people know you are a proficient botanist. As a Botanist, you can combine production trait chemicals just like a Chemist. Chlorine (blumpkin) + radium and phosphorus (glowshrooms) equals unstable mutagen! -As a Cook, you can create a very wide variety of food with the crafting menu. You can find it by looking for the hammer icon near your intents. -As a Cook, you can rename your custom made food with a pen. +As the Chef, you can create a very wide variety of food with the crafting menu. You can find it by looking for the hammer icon near your intents. +As the Chef, you can rename your custom made food with a pen. +As the Chef, if you are low on ingredients, consider making something that has several servings to last longer among the crew. As the Bartender, you can use a circular saw on your shotgun to make it easier to store. As a Janitor, if someone steals your janicart, you can instead use your space cleaner spray, grenades, water sprayer or order another from Cargo. As a Janitor, mousetraps can be used to create bombs or booby-trap containers. @@ -200,4 +200,7 @@ The Experimentor has a chance to spawn hostile mobs. Be ready to run for your li Space ruins can contain all kinds of interesting goodies, even a wand that can raise the dead! Having a mindshield, being a human and having an agent ID card all make officer Beepsky consider you less arrest-worthy. What a racist bot. You can make lasertag turrets, for the ultimate lasertag tournament. -Blob structures take half damage from brute damage. Use lasers. \ No newline at end of file +Blob structures take half damage from brute damage. Use lasers. +You can hide paper in vents, you have to use a screwdriver to open it first however. +While the Standard Operating Procedures aren't fully rules, they are there for safety and professional reasons. +Killing the Wizard usually ends the round, unless they are a lich or Space Wizard Federation is RAGING. \ No newline at end of file