GMOD_disease/README.md

30 lines
946 B
Markdown
Raw Permalink Normal View History

2023-09-01 18:10:57 -04:00
# Disease Addon
a GMOD Addon to add multiple disease
## config
2023-09-01 18:17:26 -04:00
![example file](/config.json.example)
2023-09-01 18:10:57 -04:00
| root |
| -------- |
| diseases: the list of all disease |
| list of diseases |
2023-09-01 18:14:18 -04:00
| -------- | --- |
2023-09-01 18:10:57 -04:00
| name: the name of the disease | What do you want |
| symbtoms_by_stages: a list of list of symbtoms, one list of list by stage |
| contaminations_method: a list of contamination method |
| stages_durations: a list of duration of stage |
| symbtom |
2023-09-01 18:14:18 -04:00
| -------- | --- |
2023-09-01 18:10:57 -04:00
| name: the name of the symbtoms | `vomit`, `cough`, `faintness`, `pimple`, `fatigue`, `death` |
| delay: delay between two symbtoms | number of second |
| level: the level of the symbtoms | number between 0 and 1 |
| contaminations_method |
2023-09-01 18:14:18 -04:00
| -------- | --- |
2023-09-01 18:10:57 -04:00
| name: the name of the method | `food`, `contact`, `injury`, `random` |
| chance: the change to get the disease | number between 0 and 1 |
| stages_durations |
2023-09-01 18:12:09 -04:00
| -------- |
2023-09-01 18:10:57 -04:00
| seconde before disease step up |