Skip to content

rq.StatusInfo ​

since 2.2.0

What rq.status.info gives about a definition.

Fields ​

NameTypeDescription
idstringThe id.
namestringThe name.
kind"bad"|"good"The kind.
modstringThe id of the mod that defined it.
turns (optional)integerThe default turns; nil for the whole fight.
stack"refresh"|"add"|"keep"|integerWhat adding it again does.
cured_by(string|integer)[]What cures it.
tagsstring[]Its tags.
keep_on_downbooleanWhether it stays when the bearer goes down.
lethalbooleanWhether its damage may down the bearer. Since 2.3.0.
perseverebooleanWhether Persevere saves the bearer from its lethal damage. Since 2.26.0.
lasts"fight"|"quest"How long it can stay. Since 2.26.0.
immune (optional)rq.StatusImmuneWho cannot take it, as defined; nil when the definition has none. Since 2.26.0.
desc (optional)stringThe text for players; nil when the definition has none. Since 2.26.0.

Used by ​

rq.status.info