|
3 | 3 | "version": "1.9", |
4 | 4 | "addons": ["cstrike"] |
5 | 5 | }, |
6 | | - "include": [ |
7 | | - "./.compiler/include", |
8 | | - "./.thirdparty/reapi/addons/amxmodx/scripting/include" |
9 | | - ], |
10 | 6 | "thirdparty": { |
11 | 7 | "dependencies": [ |
12 | 8 | { |
13 | 9 | "name": "reapi", |
14 | 10 | "url": "https://github.com/s1lentq/reapi/releases/download/5.21.0.252/reapi-bin-5.21.0.252.zip" |
| 11 | + }, |
| 12 | + { |
| 13 | + "name": "amxx-modding-kit", |
| 14 | + "url": "https://github.com/Hedgefog/amxx-modding-kit/archive/refs/tags/1.0.0.zip", |
| 15 | + "strip": 1, |
| 16 | + "filter": [ |
| 17 | + "util/**", |
| 18 | + "weapons/**", |
| 19 | + "entities/**", |
| 20 | + "api/assets/**", |
| 21 | + "api/custom-weapons/**", |
| 22 | + "api/player-roles/**", |
| 23 | + "api/custom-entities/**", |
| 24 | + "api/custom-events/**", |
| 25 | + "api/rounds/**", |
| 26 | + "api/waypoint-markers/**", |
| 27 | + "api/player-model/**", |
| 28 | + "api/states/**", |
| 29 | + "api/player-music/**", |
| 30 | + "api/entity-force/**" |
| 31 | + ] |
15 | 32 | } |
16 | 33 | ] |
17 | 34 | }, |
| 35 | + "include": [ |
| 36 | + "./.compiler/include", |
| 37 | + "./.thirdparty/reapi/addons/amxmodx/scripting/include", |
| 38 | + "./.thirdparty/amxx-modding-kit/api/assets/include", |
| 39 | + "./.thirdparty/amxx-modding-kit/api/custom-weapons/include", |
| 40 | + "./.thirdparty/amxx-modding-kit/api/player-roles/include", |
| 41 | + "./.thirdparty/amxx-modding-kit/api/custom-entities/include", |
| 42 | + "./.thirdparty/amxx-modding-kit/api/custom-events/include", |
| 43 | + "./.thirdparty/amxx-modding-kit/api/rounds/include", |
| 44 | + "./.thirdparty/amxx-modding-kit/api/waypoint-markers/include", |
| 45 | + "./.thirdparty/amxx-modding-kit/api/player-model/include", |
| 46 | + "./.thirdparty/amxx-modding-kit/api/states/include", |
| 47 | + "./.thirdparty/amxx-modding-kit/api/player-music/include", |
| 48 | + "./.thirdparty/amxx-modding-kit/api/entity-force/include", |
| 49 | + "./.thirdparty/amxx-modding-kit/entities/include", |
| 50 | + "./.thirdparty/amxx-modding-kit/weapons/include", |
| 51 | + "./.thirdparty/amxx-modding-kit/util" |
| 52 | + ], |
18 | 53 | "input": { |
19 | | - "scripts": "./src/scripts", |
| 54 | + "scripts": [ |
| 55 | + { "dir": "./src/scripts", "output": { "dir": "zombiepanic", "flat": false } }, |
| 56 | + { "dir": "./.thirdparty/amxx-modding-kit/api", "output": { "dir": "./amxx-modding-kit", "flat": true } }, |
| 57 | + { "dir": "./.thirdparty/amxx-modding-kit/entities", "output": { "dir": "./amxx-modding-kit", "flat": true } }, |
| 58 | + { "dir": "./.thirdparty/amxx-modding-kit/weapons", "output": { "dir": "./amxx-modding-kit", "flat": true } } |
| 59 | + ], |
20 | 60 | "include": "./src/include", |
21 | 61 | "assets": "./assets" |
22 | 62 | }, |
23 | 63 | "output": { |
24 | | - "plugins": "./dist/build/addons/amxmodx/plugins", |
25 | | - "scripts": "./dist/build/addons/amxmodx/scripting", |
26 | | - "include": "./dist/build/addons/amxmodx/scripting/include", |
27 | | - "assets": "./dist/build" |
| 64 | + "base": "./dist/build", |
| 65 | + "plugins": "./addons/amxmodx/plugins", |
| 66 | + "scripts": "./addons/amxmodx/scripting", |
| 67 | + "include": "./addons/amxmodx/scripting/include", |
| 68 | + "assets": "." |
28 | 69 | }, |
29 | 70 | "rules": { |
30 | | - "flatCompilation": true |
| 71 | + "flatCompilation": false |
| 72 | + }, |
| 73 | + "cli": { |
| 74 | + "templates": { |
| 75 | + "context": { |
| 76 | + "PLUGIN_VERSION": "1.0.0", |
| 77 | + "PLUGIN_AUTHOR": "Hedgehog Fog" |
| 78 | + } |
| 79 | + } |
31 | 80 | } |
32 | 81 | } |
0 commit comments