Mike Serfass
March 9th, 2023, 03:33
When adding an ad-hoc modification to a vehicle, armor, weapon, anything, the modification can't be edited.
In this example, I'm adding a new mod on the fly (not from the available mods list) to a vehicle.
I clicked the green add button, an empty mod is added to the list, I typed "Inboard Defense System". When I click on the red button to open the mod to enter info, here' what I get
56643
It's locked because <recordname> isn't being set.
In the underlying record, the link it creates looks like this
<link type="windowreference">
<class>modification</class>
<recordname />
</link>
Instead of this (vehicle from the vehicles list)
<link type="windowreference">
<class>modification</class>
<recordname>vehicle.id-00001.modifications.id-00013</recordname>
</link>
or this (vehicle on a character sheet)
<link type="windowreference">
<class>modification</class>
<recordname>charsheet.id-00003.vehicles.id-00001.modifications.id-00013</recordname>
</link>
Likewise with armor, weapons, etc.
Dropping preexisting mods works just fine.
Thank you!
In this example, I'm adding a new mod on the fly (not from the available mods list) to a vehicle.
I clicked the green add button, an empty mod is added to the list, I typed "Inboard Defense System". When I click on the red button to open the mod to enter info, here' what I get
56643
It's locked because <recordname> isn't being set.
In the underlying record, the link it creates looks like this
<link type="windowreference">
<class>modification</class>
<recordname />
</link>
Instead of this (vehicle from the vehicles list)
<link type="windowreference">
<class>modification</class>
<recordname>vehicle.id-00001.modifications.id-00013</recordname>
</link>
or this (vehicle on a character sheet)
<link type="windowreference">
<class>modification</class>
<recordname>charsheet.id-00003.vehicles.id-00001.modifications.id-00013</recordname>
</link>
Likewise with armor, weapons, etc.
Dropping preexisting mods works just fine.
Thank you!