A shortened version:
Code: Select all
// param 1: string New ship design to create
MONSTER_MATURATION
'''CreateShip
design = "@1@"
empire = Source.Owner
name = Source.Name
effects = SetMaxStructure value = Source.Structure
Destroy
'''
Modifying the effects to:
Code: Select all
effects = [
SetMaxStructure value = 888
GenerateSitrepMessage
message = "EFFECT_TMP"
label = "EFFECT_TMP_LABEL"
parameters = [
tag = "rawtext" data = Source.Structure
tag = "ship" data = Source.ID
tag = "predefinedshipdesign" data = "@1@"
]
]
Removing "Destroy", neither object has a modified max structure.
If the effect does not live long enough for a single turn, any options outside of using the capacity of a special?
As no existing entries use the effects portion of CreateShip, I wanted to make sure the usage was correct before reporting.