2020-04-23 03:31:17 +01:00
|
|
|
Empty Galaxy
|
|
|
|
|
r.db('Aetheria').table('Galaxy').filter({$type:'ZoneData'}).update({visited: false})
|
|
|
|
|
r.db('Aetheria').table('Galaxy').filter({$type:'ZoneData'}).update({orbits: [ ]})
|
|
|
|
|
r.db('Aetheria').table('Galaxy').filter({$type:'ZoneData'}).update({planets: [ ]})
|
|
|
|
|
r.db('Aetheria').table('Galaxy').filter({$type:'OrbitData'}).delete()
|
2020-04-29 11:27:55 +01:00
|
|
|
r.db('Aetheria').table('Galaxy').filter({$type:'PlanetData'}).delete()
|
|
|
|
|
|
|
|
|
|
Find Unassigned Items
|
2020-04-30 02:54:31 +01:00
|
|
|
r.db('Aetheria').table('Items').filter({mass:0}).pluck('$type','name')
|
|
|
|
|
|
|
|
|
|
Find Unassigned Blueprints
|
|
|
|
|
r.db('Aetheria').table('Items').filter({researchTime:0}).pluck('name')
|
|
|
|
|
|
|
|
|
|
Find Unassigned Stats
|
2020-05-18 01:06:30 +01:00
|
|
|
r.db('Aetheria').table('Items').filter({durabilityStat:{min:0}}).pluck('$type','name')
|
|
|
|
|
|
|
|
|
|
Find Galaxy Sectors With Long Names
|
|
|
|
|
r.db('Aetheria').table('Galaxy').filter({$type:'ZoneData'}).filter(function (zone) {
|
|
|
|
|
return zone("name").count().gt(8);
|
2020-05-23 01:19:07 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
Find orphaned blueprints
|
|
|
|
|
r.db('Aetheria').table('Items').filter({$type:'BlueprintData'}).filter({item:'00000000-0000-0000-0000-000000000000'})
|