Dwarf Fortress > DF Modding

help with resurrecting creature

(1/3) > >>

Hiul:
i try to create interaction that resurrect my creature and it work, but the resurrected still missing his body part also its manage to resurrecting mutilated and even butchered part which get me spam of resurrect but dead again so what mistake in it or what should i add there?
also is my egg syndrome right ? to make my female egg laying civ incubating egg without need to eat and drink?


--- Code: ---          [INTERACTION:DRAGOON_SALIVA]
                [I_SOURCE:CREATURE_ACTION]
                [I_TARGET:A:CORPSE]
                        [IT_LOCATION:CONTEXT_ITEM]
                        [IT_FORBIDDEN:NOT_LIVING]
                        [IT_AFFECTED_CREATURE:DRAGOON:MALE]
                        [IT_AFFECTED_CREATURE:DRAGOON:FEMALE]
                        [IT_REQUIRES:FIT_FOR_RESURRECTION]
                        [IT_MANUAL_INPUT:corpses]
                [I_EFFECT:RESURRECT]
                        [IE_TARGET:A]
                        [IE_IMMEDIATE]
                        [SYNDROME]
                                 [SYN_NAME:male Dragoon Ressurection]
                                 [SYN_CLASS:MALE]
                                 [IT_AFFECTED_CREATURE:DRAGOON:MALE]
                                 [SYN_CONTACT]
                                 [CE_BODY_TRANSFORMATION:START:0:END:1]
                                 [CE:CREATURE:DRAGOON:MALE]
                        [SYNDROME]
                                [SYN_NAME:female Dragoon Ressurection]
                                [SYN_CLASS:FEMALE]
                                [IT_AFFECTED_CREATURE:DRAGOON:FEMALE]
                                [SYN_CONTACT]
                                [CE_BODY_TRANSFORMATION:START:0:END:1]
                                [CE:CREATURE:DRAGOON:FEMALE]

[USE_MATERIAL_TEMPLATE:SPIT_DRAGOON_:SPIT_DRAGOON_TEMPLATE]
[STATE_COLOR:ALL_SOLID:CLEAR]
[STATE_NAME:ALL_SOLID:frozen Dragoon spit]
[STATE_ADJ:ALL_SOLID:frozen Dragoon spit]
[STATE_COLOR:LIQUID:CLEAR]
[STATE_NAME:LIQUID:Dragoon spit]
[STATE_ADJ:LIQUID:Dragoon spit]
[STATE_COLOR:GAS:CLEAR]
[STATE_NAME:GAS:boiling Dragoon spit]
[STATE_ADJ:GAS:boiling Dragoon spit]
                [I_SOURCE:CREATURE_ACTION]
                [I_TARGET:C:CORPSE]
                        [IT_FORBIDDEN:NOT_LIVING]
                        [IT_MANUAL_INPUT:corpses]
                        [IT_AFFECTED_CREATURE:DRAGOON:MALE]
                        [IT_AFFECTED_CREATURE:DRAGOON:FEMALE]
                        [IT_REQUIRES:FIT_FOR_RESURRECTION]
                [I_EFFECT:RESURRECT]
                        [IE_IMMEDIATE]
                        [IE_ARENA_NAME:Ressurected Dragoon corpse]
        [SYNDROME]
                [SYN_NAME:male Dragoon Ressurection]
                [SYN_CLASS:RESSURECT]
                [SYN_AFFECTED_CREATURE:DRAGOON:MALE]
                [CE_BODY_TRANSFORMATION:START:0:END:1]
                [CE:CREATURE:DRAGOON:MALE]
        [SYNDROME]
                [SYN_NAME:female Dragoon Ressurection]
                [SYN_CLASS:RESSURECT]
                [SYN_AFFECTED_CREATURE:DRAGOON:FEMALE]
                [CE_BODY_TRANSFORMATION:START:0:END:1]
                [CE:CREATURE:DRAGOON:FEMALE]


             [INTERACTION:DRAGOON_EGG_LAYING]
             [I_TARGET:A:CREATURE]
       [IT_LOCATION:CONTEXT_CREATURE]
                       [IT_FORBIDDEN:NOT_LIVING]
       [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
                       [IT_AFFECTED_CREATURE:DRAGOON:FEMALE]
                       [IT_AFFECTED_CREATURE:LIZAURUS:FEMALE]
             [I_EFFECT:ADD_SYNDROME]
       [IE_TARGET:A]
       [IE_IMMEDIATE]
[SYNDROME]
                [SYN_NAME:Egg Incubation]
                [SYN_CLASS:FEMALE]
                [SYN_AFFECTED_CREATURE:DRAGOON:FEMALE]
                [SYN_CONTACT]
                [CE_ADD_TAG:NO_EAT:NO_DRINK:NO_SLEEP:START:0:END:302400]
[CE:COUNTER_TRIGGER:EGG_SPENT:0:302400:NONE:REQUIRED]
--- End code ---

Gigabytebob:
when you resurrect someone they will always stay mutilated and there body parts will come alive there is nothing you can do to fix that 

Rumrusher:
also if you resurrect anyone who has no historical figure id or data the game will crash so best of luck that a dragon doesnt get near a temple or a tomb at world gen or decides to pay a visit and rez a dead animal.

Hiul:
sorry for the late reply i thought no one gonna answer


--- Quote from: Gigabytebob on February 13, 2017, 07:21:00 am ---when you resurrect someone they will always stay mutilated and there body parts will come alive there is nothing you can do to fix that 

--- End quote ---
but i also include CE_BODY_TRANSFORMATION for syndrome its say in the wiki it will instantly heal and some say that transformation will grow back body part.

i guess the wrong part is in the syndrome can someone help me find what part is wrong ?

Teneb:
Ok, first: there is no character (ok, there is, but it is huge) or time limit here, so take the time to type properly. I actually had to spend a few seconds figuring out what you were trying to get help with.

As you've noted, any damage done is retained on resurrection. The way to deal with that is to transform the revived creature into another (any other) temporarily. So you add a syndrome with [CE_BODY_TRANSFORMATION:START:0:END:1][CE:CREATURE:<CREATURE>:<CASTE>] to the effect. Be warned: transformations pause the game and give a message. Use them wisely.

Navigation

[0] Message Index

[#] Next page

Go to full version