So, I was experimenting with adding an effect to both Sun Berries, and Sunshine. Either Dwarf Therapist is reading the stat numbers completely wrong, or something is not working with the tokens as is intended by the design, or I'm putting something in there in a way as to confuse the game.
I don't get, for example, a doubling or tripling of disease resistance when the berry or the alcohol is consumed, as I thought I would (per the code below). According to Dwarf Therapist, the number goes into the millions. So, instead of a dwarf going from 1100 to 2200, he goes to some ridiculous integer, like 92212016 (yes that's exactly what DT reports).
Oddly enough, some other stats get affected too (though not all). Toughness for example. Toughness is not showing here as being affected, and yet, it rises with the syndrome effect according to DT (albeit to a more sane amount, like from 2500 to 3600). Others, like Endurance are affected in the same ridiculous way as the other stats, going into the millions.
[PLANT:BERRY_SUN]
[NAME:sun berry][NAME_PLURAL:sun berries][ADJ:sun berry]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
[MATERIAL_VALUE:4]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[EDIBLE_COOKED]
[SYNDROME]
[SYN_NAME:Sun Berry Effect]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_INGESTED]
[SYN_NO_HOSPITAL]
[CE_PHYS_ATT_CHANGE:RECUPERATION:200:0:START:10:END:8400]
[CE_PHYS_ATT_CHANGE:DISEASE_RESISTANCE:200:0:START:10:END:8400]
[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]
[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
[PICKED_TILE:161][PICKED_COLOR:6:14:0]
[WET][GOOD]
[BIOME:NOT_FREEZING]
[VALUE:4]
[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:frozen Sunshine]
[STATE_NAME_ADJ:LIQUID:Sunshine]
[STATE_NAME_ADJ:GAS:boiling Sunshine]
[MATERIAL_VALUE:8]
[DISPLAY_COLOR:14:0:0]
[EDIBLE_RAW]
[EDIBLE_COOKED]
[PREFIX:NONE]
[SYNDROME]
[SYN_NAME:Sunshine Effect]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_INGESTED]
[SYN_NO_HOSPITAL]
[CE_PHYS_ATT_CHANGE:RECUPERATION:300:0:START:10:END:8400]
[CE_PHYS_ATT_CHANGE:DISEASE_RESISTANCE:300:0:START:10:END:16800]
[CE_MENT_ATT_CHANGE:WILLPOWER:200:0:START:10:END:8400]
[DRINK:LOCAL_PLANT_MAT:DRINK]
[SPRING][SUMMER][AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:inner light]
[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
[MATERIAL_VALUE:3]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[SEED:sun berry seed:sun berry seeds:14:0:0:LOCAL_PLANT_MAT:SEED]
[SHRUB_TILE:6]
[DEAD_SHRUB_TILE:148]
[SHRUB_COLOR:15:14:0]
[DEAD_SHRUB_COLOR:7:7:0]