Note to self... You cannot use line breaks when writing JSON strings
This commit is contained in:
parent
566459b7b8
commit
89ff62f18e
4 changed files with 31 additions and 47 deletions
|
@ -1,26 +1,6 @@
|
|||
/*<li>
|
||||
<p class="adult">
|
||||
(question for those over the age of 18... or those mature enough)
|
||||
</p>
|
||||
One of your friends is upset. Someone has been harrassing them,
|
||||
asking for innapropriate pictures, constantly private messaging
|
||||
them without their consent.
|
||||
(<em>THEIR NAME IS FUCKING GIO</em>)
|
||||
Your friend is visibly uncomfortable, what would be your first
|
||||
action?
|
||||
<ul>
|
||||
<li>Try to listen to both sides, see what the other person has to say</li>
|
||||
<li>Go to the moderators, and report what happened.</li>
|
||||
<li>Try to cheer up your friend, diverting their attention to something else</li>
|
||||
<li>Listen to your friend, and reccommend some advice</li>
|
||||
<li>Other...</li>
|
||||
</ul>
|
||||
If this situation is happening to you, what would you choose instead?
|
||||
<br />
|
||||
<input type="text" name="" placeholder="Enter response here">
|
||||
</li>*/
|
||||
|
||||
window.onload = function(){
|
||||
addScenario = function(object){
|
||||
$adultText = $("<p class=\"adult\">(question for those over the age of 18... or those mature enough)</p>");
|
||||
$description = $(
|
||||
"<p>One of your friends is upset. Someone has been harrassing them, asking"
|
||||
|
@ -47,4 +27,6 @@ window.onload = function(){
|
|||
console.table($liElement);
|
||||
|
||||
$("#scenarios").append($liElement);
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
{
|
||||
"name": "base raid",
|
||||
"description":
|
||||
"You find your base raided: All of your stuff is missing, chests are empty.
|
||||
What would be your first action?",
|
||||
"You find your base raided: All of your stuff is missing, chests are empty. What would be your first action?",
|
||||
"options": [
|
||||
"Try to find who stole the goods, and try to get it back",
|
||||
"Go to the moderators, and report what happened",
|
||||
|
@ -18,7 +17,7 @@
|
|||
{
|
||||
"name": "Rule 1",
|
||||
"description":
|
||||
"Someone is breaking Rule #1 and well... being a dick. They'are
|
||||
"Someone is breaking Rule #1 and well... being a dick. They are
|
||||
angry about (having their base raided/being harrassed by another
|
||||
member/their family treating them unfairly/griefers destroying
|
||||
their base), and are swearing, insulting people, and generally
|
||||
|
@ -33,7 +32,7 @@
|
|||
],
|
||||
"question":
|
||||
"If you were a moderator, what would you choose instead?",
|
||||
"adult": false,
|
||||
"adult": false
|
||||
},
|
||||
{
|
||||
"name": "Harrassment",
|
||||
|
|
3
resources/questions/test.json
Normal file
3
resources/questions/test.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"Name": "Ali"
|
||||
}
|
Loading…
Reference in a new issue