服务器指令文档
This commit is contained in:
3
document/command.json
Normal file
3
document/command.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"建筑":"storage.db['rooms.objects'].find({ type: 'constructionSite' }).then(resp => resp.map(cs => storage.db['rooms.objects'].findOne({ _id: cs._id }).then(csDetail => storage.db['rooms.objects'].update({_id: cs._id }, {$set: { progress: csDetail.progressTotal - 1 }}))))"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user