Found an abandoned mod to increase bike speed quite a while ago. I've since modded the XML to fit the various version changes.
It has all worked quite well until 2.5 I can go into creative mode and give myself the mod, but it absolutely will not install into the bike. It doesn't appear with the green around it either to signify that its a related mod.
Item_modifiers.XML:
<config>
<append xpath="/item_modifiers">
<item_modifier name="modBikeSpeedBoost" installable_tags="bicycle" modifier_tags="speed" blocked_tags="noMods" type="attachment">
<property name="Extends" value="modGeneralMaster"/>
<property name="DescriptionKey" value="BikeBoostDesc"/>
<property name="TraderStageTemplate" value="modsTier1"/>
<property name="CustomIconTint" value="#4f3746"/>
<property name="TintColor" value="#4f3746"/>
<property name="CustomIcon" value="modGunBowPolymerString"/>
<effect_group tiered="false">
<passive_effect name="VehicleMotorTorquePer" operation="perc_add" value=".30"/>
<passive_effect name="VehicleVelocityMaxPer" operation="perc_add" value=".48"/>
</effect_group>
</item_modifier>
</append>
</config>
---------------------
Items.XML :
<configs>
<set xpath="/items/item[@name='vehicleBicyclePlaceable']/property[@name='Tags']/@value">vehicle,bicycle</set>
</configs>
---------------------
ModInfo.XML :
<xml>
<Name value="BikeSpeedBoost"/>
<DisplayName value="BikeSpeedBoost"/>
<Description value="Bike Speed Boost"/>
<Author value="x"/>
<Version value="2.5"/>
</xml>
Not sure what I've missed. Any assistance is greatly appreciated!
It has all worked quite well until 2.5 I can go into creative mode and give myself the mod, but it absolutely will not install into the bike. It doesn't appear with the green around it either to signify that its a related mod.
Item_modifiers.XML:
<config>
<append xpath="/item_modifiers">
<item_modifier name="modBikeSpeedBoost" installable_tags="bicycle" modifier_tags="speed" blocked_tags="noMods" type="attachment">
<property name="Extends" value="modGeneralMaster"/>
<property name="DescriptionKey" value="BikeBoostDesc"/>
<property name="TraderStageTemplate" value="modsTier1"/>
<property name="CustomIconTint" value="#4f3746"/>
<property name="TintColor" value="#4f3746"/>
<property name="CustomIcon" value="modGunBowPolymerString"/>
<effect_group tiered="false">
<passive_effect name="VehicleMotorTorquePer" operation="perc_add" value=".30"/>
<passive_effect name="VehicleVelocityMaxPer" operation="perc_add" value=".48"/>
</effect_group>
</item_modifier>
</append>
</config>
---------------------
Items.XML :
<configs>
<set xpath="/items/item[@name='vehicleBicyclePlaceable']/property[@name='Tags']/@value">vehicle,bicycle</set>
</configs>
---------------------
ModInfo.XML :
<xml>
<Name value="BikeSpeedBoost"/>
<DisplayName value="BikeSpeedBoost"/>
<Description value="Bike Speed Boost"/>
<Author value="x"/>
<Version value="2.5"/>
</xml>
Not sure what I've missed. Any assistance is greatly appreciated!