From 7e6e3fc4870f5a533e781fbd20d3ecb4651ea93d Mon Sep 17 00:00:00 2001 From: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com> Date: Thu, 30 Apr 2020 20:14:20 -0400 Subject: [PATCH] Policy Config Clarifies To_Chat Is NOT Support of Policy Feature (#50660) * Update POLICYCONFIG.md * Update POLICYCONFIG.md --- .github/POLICYCONFIG.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/POLICYCONFIG.md b/.github/POLICYCONFIG.md index 0e5e46260ba..9909e7bf626 100644 --- a/.github/POLICYCONFIG.md +++ b/.github/POLICYCONFIG.md @@ -22,11 +22,12 @@ You can access the string of text through the `get_policy(keyword)` proc, this t This will return a configured string of text, or blank/null if no policy string is set. -This is also accessible to the user if they use `/client/verb/policy()` which will display to them a list of all the policy texts for keywords applicable to the mob, you can add/modify the list of keywords by modifying the `get_policy_keywords()` proc of a mob type where that is relevant. +This is also accessible to the user if they use `/client/verb/policy()` which will display to them a list of all the policy texts for keywords applicable to the mob, you can add/modify the list of keywords by modifying the `get_policy_keywords()` proc of a mob type where that is relevant. **If you cannot use the verb to get your policy at any point, the feature is considered to NOT be supported.** -### Example -Here is a simple example taken from the slime pyroclastic event -``` +### Relaying Specific Policy To Players, Example + +Here is a simple example taken from the slime pyroclastic event to relay specific policy. +```DM var/policy = get_policy(ROLE_PYROCLASTIC_SLIME) if (policy) to_chat(S, policy)