Hey, i'm trying to write a new plant in but i just CAN'T MAKE IT WORK!!!! this is what i have so far:
filename: plant_poppies.txt
plant_standard
[OBJECT:PLANT]
[PLANT:OPIUM_POPPY_POD]
[NAME:poppy pod][NAME_PLURAL:poppy pods][ADJ:poppy pod]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
[MATERIAL_VALUE:5]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
[PICKED_TILE:58][PICKED_COLOR:4:0:0]
[DRY][BIOME:NOT_FREEZING]
[GROWDUR:500][VALUE:5]
[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:Laudanum]
[STATE_NAME_ADJ:LIQUID:Laudanum]
[STATE_NAME_ADJ:GAS:boiling Laudanum]
[MATERIAL_VALUE:2]
[DISPLAY_COLOR:5:0:1]
[EDIBLE_RAW]
[PREFIX:NONE]
[DRINK:LOCAL_PLANT_MAT:DRINK]
[SPRING][SUMMER][AUTUMN][WINTER]
[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
[MATERIAL_VALUE:1]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[SEED:poppy seed:poppy seed:4:0:1:LOCAL_PLANT_MAT:SEED]
[SPRING][SUMMER][AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[WET][DRY]
[BIOME:SUBTERRANEAN_WATER]
[UNDERGROUND_DEPTH:1:3]
[SHRUB_TILE:':']
[DEAD_SHRUB_TILE:':']
[SHRUB_COLOR:5:0:0]
[DEAD_SHRUB_COLOR:0:0:1]
I'm a total newb at this, i have looked at the wiki.
I added the below because as far as i know this is what makes my plant an underground plant, i only wanted to make it underground to test it by having it on embark to make it easy to test it, but ideally i want it an outside crop.
[WET][DRY]
[BIOME:SUBTERRANEAN_WATER]
[UNDERGROUND_DEPTH:1:3]
Also, is it possible to A. make it so drinking this will help manage pain (make dwarfs not colapse in pain or something.) make dwarves very happy if they drink/eat but VERY unhappy if they stop drinking/eating? if not it does not matter THAT much.
Do i need [EDIBLE_COOKED] to be able to create alcohol from a plant? I would REALLY appreciate it if people could comment on this raw a little to help me out? i generally learn by example with some comments a LOT faster when looking at code that's been commented. (i'm a python, perl and php programmer.)
One last thing, is it possible to make certain items contraband to caravans? Thank you.