I'm Trying to add Item-modifier for vehicle like increasing storage
So the problem is I have a little bit code to try
<item name="ModCargoVehicleSchematic">
<property name="Extends" value="schematicNoQualityMaster"/>
<property name="CreativeMode" value="Player"/>
<property name="CustomIcon" value="modRoboticDroneCargoMod"/>
<property name="Unlocks" value="ModCargoVehicle"/>
<effect_group tiered="false">
<triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="ModCargoVehicle" operation="set" value="1"/>
<triggered_effect trigger="onSelfPrimaryActionEnd" action="GiveExp" exp="50"/>
</effect_group>
</item>
For item file
<recipe name="ModCargoVehicle" count="1" craft_area="workbench" always_unlocked="true" tags="workbenchCrafting">
<ingredient name="resourceForgedSteel" count="5"/>
<ingredient name="resourceScrapPolymers" count="10"/>
<ingredient name="resourceElectricParts" count="4"/>
<ingredient name="resourceMechanicalParts" count="4"/>
</recipe>
for test recipe
and last
<item_modifier name="ModCargoVehicle" installable_tags="vseat" modifier_tags="seat" blocked_tags="noMods" type="attachment">
<property name="Extends" value="modGeneralMaster"/>
<property name="UnlockedBy" value="ModCargoVehicleSchematic"/>
<property name="CustomIcon" value="modRoboticDroneCargoMod"/>
<effect_group tiered="false">
<passive_effect name="VehicleStorage" operation="base_add" value="2"/>
</effect_group>
</item_modifier>
for item modifier the problem is down there at the bottom there's explain about xml with VehicleStorageWidth VehicleStorageHeight That I have tried on both 2 and it doesn't work
so I got no idea what to do next
I would glad if someone could help me with this
I don't want to add them by normally change loot.xml like loot size
I wanna let player craft mod to increase their storage instead of give them for free
So the problem is I have a little bit code to try
<item name="ModCargoVehicleSchematic">
<property name="Extends" value="schematicNoQualityMaster"/>
<property name="CreativeMode" value="Player"/>
<property name="CustomIcon" value="modRoboticDroneCargoMod"/>
<property name="Unlocks" value="ModCargoVehicle"/>
<effect_group tiered="false">
<triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="ModCargoVehicle" operation="set" value="1"/>
<triggered_effect trigger="onSelfPrimaryActionEnd" action="GiveExp" exp="50"/>
</effect_group>
</item>
For item file
<recipe name="ModCargoVehicle" count="1" craft_area="workbench" always_unlocked="true" tags="workbenchCrafting">
<ingredient name="resourceForgedSteel" count="5"/>
<ingredient name="resourceScrapPolymers" count="10"/>
<ingredient name="resourceElectricParts" count="4"/>
<ingredient name="resourceMechanicalParts" count="4"/>
</recipe>
for test recipe
and last
<item_modifier name="ModCargoVehicle" installable_tags="vseat" modifier_tags="seat" blocked_tags="noMods" type="attachment">
<property name="Extends" value="modGeneralMaster"/>
<property name="UnlockedBy" value="ModCargoVehicleSchematic"/>
<property name="CustomIcon" value="modRoboticDroneCargoMod"/>
<effect_group tiered="false">
<passive_effect name="VehicleStorage" operation="base_add" value="2"/>
</effect_group>
</item_modifier>
for item modifier the problem is down there at the bottom there's explain about xml with VehicleStorageWidth VehicleStorageHeight That I have tried on both 2 and it doesn't work
so I got no idea what to do next
I would glad if someone could help me with this
I don't want to add them by normally change loot.xml like loot size
I wanna let player craft mod to increase their storage instead of give them for free