Verified Commit 8a63313b authored by Eliot Berriot's avatar Eliot Berriot

Added apollyon object class, as requested on reddit by /u/nmkd

parents b2e5588a 9be609dd
Pipeline #222 passed with stages
in 40 seconds
......@@ -271,7 +271,8 @@ def get_object_class(cleaned_data):
'keter',
'neutralized',
'pending',
'hiemal'
'hiemal',
'apollyon'
]
synonyms = {
'n/a': 'null',
......
......@@ -14,7 +14,10 @@ export default {
return parseInt(this.id, '10')
},
scp: function () {
return scpData.data.scps[this.realId]
let self = this
return scpData.data.scps.filter(s => {
return s.id === self.realId
})[0]
}
}
}
......
......@@ -239,7 +239,8 @@ var scpData = {
'thaumiel': 'purple',
'pending': 'yellow',
'neutralized': 'green',
'hiemal': 'blue'
'hiemal': 'blue',
'apollyon': 'pink'
}
let color = colors[objectClass]
if (!color) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment