Garry's mod addon to add disease
Go to file
2023-09-02 00:10:57 +02:00
lua/autorun init project struct 2023-09-01 22:04:20 +02:00
config.json.example update config.json.example: change contaminations_method 2023-09-02 00:10:39 +02:00
README.md add: readme 2023-09-02 00:10:57 +02:00

Disease Addon

a GMOD Addon to add multiple disease

config

!(example file)["./config.json.example"]

root
diseases: the list of all disease
list of diseases
name: the name of the disease
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
name: the name of the symbtoms
delay: delay between two symbtoms
level: the level of the symbtoms

| contaminations_method | | name: the name of the method | food, contact, injury, random | | chance: the change to get the disease | number between 0 and 1 |

| stages_durations | | seconde before disease step up |