Hi everyone,
Just getting my feet wet with modding, and I'd like to see if a few things are possible before I go too far down a potentially blind alley.
- When a creature has [MALE] and [FEMALE] castes, any sterile castes show up as female. This seems to be based on insects with queens and drones, but is there some way to have a sterile caste referred to as "he" or preferably "it"? Putting [UNGENDERED] in the sterile caste generates an error, so that's not the way to do it.
- Is there a way to hook a check/reaction/syndrome/whatever into a standard action like mining? In vanilla, there is a 25% chance that mining a rock leaves a stone, 0% for soil and 100% for gems. Is there a way to slip in a % chance of something else happening? One idea is hidden gems (for example, 0.5% of granite spaces yield a specific rough gem) and the other is living rock (0.05% of granite spaces yield a granite fiend, 0.05% of marble spaces yield a marble fiend, etc.)
- Ideally I'd like to be able to remove any loopholes with the above, such as carving up-staris then removing the stairs to avoid the possibility of creature spawning.
- Can a workshop consume the person constructing it without insta-killing anyone else who ever tries to use it? ("Urist McSoapmaker, welcome to the fortress! Step right over here...")
- If I mod the wagon to be made out of stone, will treehuggers use them?
Thanks everyone.
1. There is no [UNGENDERED] tag however with the use of interactions you can have a caste make themselves sterile even if they are MALE or FEMALE, the how do I made already, and can share it since it's so simple:
[INTERACTION:NO_BABIES]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:creature]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_ADD_TAG:STERILE:START:0]
[CAN_DO_INTERACTION:NO_BABIES]
[CDI:ADV_NAME:Sterile]
[CDI:TARGET:A:SELF_ONLY]
[CDI:WAIT_PERIOD:16800]
[CDI:FREE_ACTION]
2.Can't add anything such as hooks saddly, all you can do is make custom reactions with percent chances, or special VEINS of imposter minerals/layers (CLAY, CLAY_FAKE) CLAY_FAKE might on mining drops a boiling stone that when inhaled causing syndromes, or look at DFHack they might have made something for this already. (I don't follow it much, I don't like making mods that rely on third party utilities)
3. ^^^
4.Not construction, but a reaction that makes a boiling stone (DFHack has an autosyndrome function that might be your thing) that when on repeat makes boiling poison stones.
5. Treehuggers will use wooden wagons because wagons are the only multi-tile creature in game atm, and creatures even if made of wood don't count as wood (by-products will so don't sell the butchered bits to them) if you want the tree huggers to use wagons enable them in their ENTITY.
EDIT:
Also for number 1. as I reread it over again:
MALE gives a "he" descriptor
FEMALE gives a "she" descriptor
having neither of the above gives an "it" desciptor