Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
[
//check first effect
[{"op":"test","path":"/effects/0/0/effect","value":"sb_health"},{"op":"remove":"path":"/effects/0/0"}],
[{"op":"test","path":"/effects/0/0","value":"sb_health"},{"op":"remove":"path":"/effects/0/0"}],
//check second effect
[{"op":"test","path":"/effects/0/1/effect","value":"sb_health"},{"op":"remove":"path":"/effects/0/1"}],
[{"op":"test","path":"/effects/0/1","value":"sb_health"},{"op":"remove":"path":"/effects/0/1"}]
]
This will check if first or second status effect of the food is 'sb_health', and if so, remove it
You can check the third, etc status effect by changing the 2nd number
So you can make a single patch that checks, say, the first 10 status effects of an item for sb_health, then check the first 10 again for sb_energy, sb_restoration (restores both health and energy), and sb_foodheal, and then use the patch for every item. it should work