|
149 | 149 | "use_action": { |
150 | 150 | "type": "consume_drug", |
151 | 151 | "activation_message": "You take some %s.", |
152 | | - "effects": [ { "id": "pkill1_nsaid", "duration": 9000 } ] |
| 152 | + "effects": [ { "id": "pkill1_nsaid", "duration": 9000 } ], |
| 153 | + "vitamins": [ [ "vit_bloodthinner", 4320, 4320 ] ] |
153 | 154 | }, |
154 | 155 | "vitamins": [ [ "vit_bloodthinner", 4320 ] ] |
155 | 156 | }, |
|
173 | 174 | "use_action": { |
174 | 175 | "type": "consume_drug", |
175 | 176 | "activation_message": "You take some %s.", |
176 | | - "effects": [ { "id": "pkill1_nsaid", "duration": 9000 } ] |
| 177 | + "effects": [ { "id": "pkill1_nsaid", "duration": 9000 } ], |
| 178 | + "vitamins": [ [ "vit_ibuprofen", 216, 216 ] ] |
177 | 179 | }, |
178 | 180 | "vitamins": [ [ "vit_ibuprofen", 216 ] ] |
179 | 181 | }, |
|
197 | 199 | "use_action": { |
198 | 200 | "type": "consume_drug", |
199 | 201 | "activation_message": "You take some %s.", |
200 | | - "effects": [ { "id": "pkill1_nsaid", "duration": 18000 } ] |
| 202 | + "effects": [ { "id": "pkill1_nsaid", "duration": 18000 } ], |
| 203 | + "vitamins": [ [ "vit_ibuprofen", 432, 432 ] ] |
201 | 204 | }, |
202 | 205 | "vitamins": [ [ "vit_ibuprofen", 432 ] ] |
203 | 206 | }, |
|
241 | 244 | "container": "bottle_plastic_pill_painkiller", |
242 | 245 | "healthy": -1, |
243 | 246 | "flags": [ "WATER_DISSOLVE", "NO_TEMP" ], |
244 | | - "use_action": { "type": "consume_drug", "activation_message": "You take some %s." }, |
| 247 | + "use_action": { "type": "consume_drug", "activation_message": "You take some %s.", "vitamins": [ [ "vit_betablocker", 864, 864 ] ] }, |
245 | 248 | "vitamins": [ [ "vit_betablocker", 864 ] ] |
246 | 249 | }, |
247 | 250 | { |
|
492 | 495 | "use_action": { |
493 | 496 | "type": "consume_drug", |
494 | 497 | "activation_message": "You take some %s.", |
495 | | - "effects": [ { "id": "pkill2", "duration": 1080 }, { "id": "cough_suppress", "duration": 1000 } ] |
| 498 | + "effects": [ { "id": "pkill2", "duration": 1080 }, { "id": "cough_suppress", "duration": 1000 } ], |
| 499 | + "vitamins": [ [ "vit_mme", 450, 450 ] ] |
496 | 500 | } |
497 | 501 | }, |
498 | 502 | { |
|
1262 | 1266 | { "id": "pkill3", "duration": 480 }, |
1263 | 1267 | { "id": "pkill2", "duration": 1200 }, |
1264 | 1268 | { "id": "cough_suppress", "duration": 1000 } |
1265 | | - ] |
| 1269 | + ], |
| 1270 | + "vitamins": [ [ "vit_mme", 3000, 3000 ] ] |
1266 | 1271 | } |
1267 | 1272 | }, |
1268 | 1273 | { |
|
1410 | 1415 | "type": "consume_drug", |
1411 | 1416 | "activation_message": "You shoot up.", |
1412 | 1417 | "tools_needed": { "syringe": -1 }, |
1413 | | - "effects": [ { "id": "pkill3", "duration": 120 }, { "id": "pkill2", "duration": 1200 } ] |
| 1418 | + "effects": [ { "id": "pkill3", "duration": 120 }, { "id": "pkill2", "duration": 1200 } ], |
| 1419 | + "vitamins": [ [ "vit_mme", 3000, 3000 ] ] |
1414 | 1420 | } |
1415 | 1421 | }, |
1416 | 1422 | { |
|
1556 | 1562 | "use_action": { |
1557 | 1563 | "type": "consume_drug", |
1558 | 1564 | "activation_message": "You take some %s.", |
1559 | | - "effects": [ { "id": "pkill3", "duration": 120 }, { "id": "pkill2", "duration": 1200 } ] |
| 1565 | + "effects": [ { "id": "pkill3", "duration": 120 }, { "id": "pkill2", "duration": 1200 } ], |
| 1566 | + "vitamins": [ [ "vit_mme", 2250, 2250 ] ] |
1560 | 1567 | } |
1561 | 1568 | }, |
1562 | 1569 | { |
|
1614 | 1621 | "use_action": { |
1615 | 1622 | "type": "consume_drug", |
1616 | 1623 | "activation_message": "You take some %s.", |
1617 | | - "effects": [ { "id": "pkill2", "duration": 1080 } ] |
| 1624 | + "effects": [ { "id": "pkill2", "duration": 1080 } ], |
| 1625 | + "vitamins": [ [ "vit_mme", 200, 200 ] ] |
1618 | 1626 | } |
1619 | 1627 | }, |
1620 | 1628 | { |
|
1636 | 1644 | "addiction_type": [ "sleeping pill", "opiate" ], |
1637 | 1645 | "vitamins": [ [ "vit_mme", 200 ] ], |
1638 | 1646 | "flags": [ "NO_TEMP" ], |
1639 | | - "use_action": { "type": "consume_drug", "activation_message": "You take a %s." }, |
| 1647 | + "use_action": { "type": "consume_drug", "activation_message": "You take a %s.", "vitamins": [ [ "vit_mme", 200, 200 ] ] }, |
1640 | 1648 | "sleepiness_mod": -40 |
1641 | 1649 | }, |
1642 | 1650 | { |
|
1872 | 1880 | "use_action": { |
1873 | 1881 | "type": "consume_drug", |
1874 | 1882 | "activation_message": "You take some %s.", |
1875 | | - "effects": [ { "id": "pkill_l", "duration": 27000 } ] |
| 1883 | + "effects": [ { "id": "pkill_l", "duration": 27000 } ], |
| 1884 | + "vitamins": [ [ "vit_mme", 600, 600 ] ] |
1876 | 1885 | } |
1877 | 1886 | }, |
1878 | 1887 | { |
|
1896 | 1905 | "activation_message": "You take the %s.", |
1897 | 1906 | "vitamins": [ [ "calcium", 24, 48 ], [ "iron", 24, 48 ], [ "vitC", 24, 48 ] ] |
1898 | 1907 | }, |
1899 | | - "//": "Yes, the vitamins are intentionally duplicated here. The consume/use/iteminfo UI needs them in use_action, but to actually pass on the vitamins they need to be in the comestible data, as below.", |
1900 | | - "//2": "TODO: Fix this...", |
1901 | 1908 | "vitamins": [ [ "calcium", 36 ], [ "iron", 36 ], [ "vitC", 36 ] ] |
1902 | 1909 | }, |
1903 | 1910 | { |
|
1916 | 1923 | "symbol": "!", |
1917 | 1924 | "color": "magenta", |
1918 | 1925 | "container": "bottle_plastic_pill_supplement", |
| 1926 | + "vitamins": [ [ "calcium", 75 ] ], |
1919 | 1927 | "use_action": { "type": "consume_drug", "activation_message": "You take the %s.", "vitamins": [ [ "calcium", 75 ] ] } |
1920 | 1928 | }, |
1921 | 1929 | { |
|
1936 | 1944 | "color": "white", |
1937 | 1945 | "looks_like": "calcium_tablet", |
1938 | 1946 | "flags": [ "NO_TEMP" ], |
1939 | | - "use_action": { "type": "consume_drug", "activation_message": "You take the %s.", "vitamins": [ [ "calcium", 24 ] ] }, |
1940 | | - "vitamins": [ [ "meat_allergen", 1 ] ] |
| 1947 | + "use_action": { |
| 1948 | + "type": "consume_drug", |
| 1949 | + "activation_message": "You take the %s.", |
| 1950 | + "vitamins": [ [ "calcium", 24 ], [ "meat_allergen", 1 ] ] |
| 1951 | + }, |
| 1952 | + "vitamins": [ [ "calcium", 24 ], [ "meat_allergen", 1 ] ] |
1941 | 1953 | }, |
1942 | 1954 | { |
1943 | 1955 | "id": "flavored_bonemeal_tablet", |
|
1957 | 1969 | "color": "yellow", |
1958 | 1970 | "looks_like": "calcium_tablet", |
1959 | 1971 | "flags": [ "NO_TEMP" ], |
1960 | | - "use_action": { "type": "consume_drug", "activation_message": "You take the %s.", "vitamins": [ [ "calcium", 23 ] ] }, |
1961 | | - "vitamins": [ [ "meat_allergen", 1 ] ] |
| 1972 | + "use_action": { |
| 1973 | + "type": "consume_drug", |
| 1974 | + "activation_message": "You take the %s.", |
| 1975 | + "vitamins": [ [ "calcium", 23 ], [ "meat_allergen", 1 ] ] |
| 1976 | + }, |
| 1977 | + "vitamins": [ [ "calcium", 23 ], [ "meat_allergen", 1 ] ] |
1962 | 1978 | }, |
1963 | 1979 | { |
1964 | 1980 | "id": "vitc_tablet", |
|
1975 | 1991 | "flags": [ "IRREPLACEABLE_CONSUMABLE", "NO_TEMP" ], |
1976 | 1992 | "symbol": "!", |
1977 | 1993 | "color": "magenta", |
1978 | | - "use_action": { "type": "consume_drug", "activation_message": "You take the %s.", "vitamins": [ [ "vitC", 556 ] ] } |
| 1994 | + "use_action": { "type": "consume_drug", "activation_message": "You take the %s.", "vitamins": [ [ "vitC", 556 ] ] }, |
| 1995 | + "vitamins": [ [ "vitC", 556 ] ] |
1979 | 1996 | }, |
1980 | 1997 | { |
1981 | 1998 | "id": "vitc_fragment", |
|
1992 | 2009 | "flags": [ "IRREPLACEABLE_CONSUMABLE", "NO_TEMP" ], |
1993 | 2010 | "symbol": "!", |
1994 | 2011 | "color": "magenta", |
1995 | | - "use_action": { "type": "consume_drug", "activation_message": "You take the %s.", "vitamins": [ [ "vitC", 92 ] ] } |
| 2012 | + "use_action": { "type": "consume_drug", "activation_message": "You take the %s.", "vitamins": [ [ "vitC", 92 ] ] }, |
| 2013 | + "vitamins": [ [ "vitC", 92 ] ] |
1996 | 2014 | }, |
1997 | 2015 | { |
1998 | 2016 | "id": "gummy_vitamins", |
|
2078 | 2096 | "symbol": "!", |
2079 | 2097 | "color": "magenta", |
2080 | 2098 | "flags": [ "NO_INGEST", "IRREPLACEABLE_CONSUMABLE", "NO_TEMP" ], |
| 2099 | + "vitamins": [ [ "iron", 100 ] ], |
2081 | 2100 | "use_action": { |
2082 | 2101 | "type": "consume_drug", |
2083 | 2102 | "activation_message": "You inject some iron.", |
|
2113 | 2132 | "fields_produced": { "fd_weedsmoke": 2 }, |
2114 | 2133 | "charges_needed": { "fire": 1 }, |
2115 | 2134 | "tools_needed": { "apparatus": -1 }, |
2116 | | - "moves": 420 |
| 2135 | + "moves": 420, |
| 2136 | + "vitamins": [ [ "veggy_allergen", 1 ] ] |
2117 | 2137 | }, |
2118 | 2138 | "vitamins": [ [ "veggy_allergen", 1 ] ] |
2119 | 2139 | }, |
|
2210 | 2230 | "color": "white", |
2211 | 2231 | "container": "bottle_plastic_small", |
2212 | 2232 | "flags": [ "IRREPLACEABLE_CONSUMABLE", "WATER_DISSOLVE", "NPC_SAFE", "NO_TEMP" ], |
| 2233 | + "vitamins": [ [ "calcium", 25 ] ], |
2213 | 2234 | "use_action": { |
2214 | 2235 | "type": "consume_drug", |
2215 | 2236 | "activation_message": "You take an antacid tablet.", |
|
0 commit comments