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): ...@@ -271,7 +271,8 @@ def get_object_class(cleaned_data):
'keter', 'keter',
'neutralized', 'neutralized',
'pending', 'pending',
'hiemal' 'hiemal',
'apollyon'
] ]
synonyms = { synonyms = {
'n/a': 'null', 'n/a': 'null',
......
...@@ -14,7 +14,10 @@ export default { ...@@ -14,7 +14,10 @@ export default {
return parseInt(this.id, '10') return parseInt(this.id, '10')
}, },
scp: function () { 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 = { ...@@ -239,7 +239,8 @@ var scpData = {
'thaumiel': 'purple', 'thaumiel': 'purple',
'pending': 'yellow', 'pending': 'yellow',
'neutralized': 'green', 'neutralized': 'green',
'hiemal': 'blue' 'hiemal': 'blue',
'apollyon': 'pink'
} }
let color = colors[objectClass] let color = colors[objectClass]
if (!color) { 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