Configuration
Items.lua
This is where you can create your own healing items, note that apart from bleeding and broken bones there’s no other way of healing other diseases through the medical UI (by default). Healing items can be configured to heal any disease.
Medicine Items
Those items are meant to be accessible to anyone, to heal wounds or diseases.
Properties:
itemID
: the id of the item, must be equal to the one you create in the items table in the databasehealProbability
: this property contains all the diseases the item can heal along with the probability of success. Can work with as many diseases as you want.cureDuration
: time after the cure will stop working and the symptoms will restart. It is a milliseconds value, if you want it to be permanent you can set its value to -1applyDuration
: time it needs to apply the medicationhealthAmount
: the amount of health it will give to the player after using the item.animationDict
: the dict of the animation you want to use, if want to use a scenario set this to nilanimation
: the name of the animation you want to use, if want to use a scenario set this to nilscenario
: the scenario hash that you want to useallowedJobs
: a list of jobs that are allowed to use this item, set this to nil or just delete it to make it usable for anyone.
Revive Items
Those items are used to revive a player which is currently dead. The configuration parameters are the same as for the medicine items.