Carpet

Carpet

2M Downloads

/script download not downloading libraries's resources

BisUmTo opened this issue ยท 0 comments

commented

Downloading a script from an app store, the game doesn't download resources that external libraries require.

How to reproduce:

  • Change AppStore:
    Example: /carpet scriptsAppStore scriptpacks/survival/contents
  • Install a script:
    Example: /script download mniuzo.sc

mniuzo.sc has debugstick.sc as external library
debugstick.sc has data.json as requirement

The game will not download data.json

Possible solution:
Adding appstore parameter to 'libraries' to allow resource resolving even for external libraries.

'libraries' -> [
     {
         'appstore' -> 'bisumto/scarpet/contents'
         'source' -> '/debugstick.sc'
     }
 ]