服务器指令文档
This commit is contained in:
parent
0fa23009ad
commit
182e672086
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 }}))))"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user