poly Posted March 20, 2022 Share Posted March 20, 2022 I was wondering if a specific fuel can be restricted to a specific workbench. For example, Wood can be used as a fuel source in the forge, campfire etc. The 'FuelValue' in items.xml denotes a fuel type, however, can this be made specific to a particular workstation. In my mod I have Uranium as a fuel source, but realism is lost when you can cook meat stew on a Uranium powered campfire 😁 I'd like to restrict Uranium power to the Alchemy Station. Is there a workaround anyone can think of if this is not possible? Link to comment Share on other sites More sharing options...
BFT2020 Posted March 21, 2022 Share Posted March 21, 2022 Not sure if this would work but what about making different fuel categories? Right now, this is in the campfire block.xml code <property class="Workstation"> <property name="Modules" value="tools,output,fuel,input"/> Is it possible to have fuel2, fuel3 values for modules? Link to comment Share on other sites More sharing options...
Gouki Posted March 21, 2022 Share Posted March 21, 2022 On 3/20/2022 at 10:25 AM, poly said: I was wondering if a specific fuel can be restricted to a specific workbench. For example, Wood can be used as a fuel source in the forge, campfire etc. The 'FuelValue' in items.xml denotes a fuel type, however, can this be made specific to a particular workstation. In my mod I have Uranium as a fuel source, but realism is lost when you can cook meat stew on a Uranium powered campfire 😁 I'd like to restrict Uranium power to the Alchemy Station. Is there a workaround anyone can think of if this is not possible? Hi Poly You can make a new windowFuel in the windows.xml of your mod and you only change the name (windowFuelAS) for your alchemy station, you must also change the name resourceWood to resourceUranium or whatever you have named it (There is also this in the code of windowFuelAS) . Then in the xui.xml of your alchemy station change the name to windowFuelAS instead of windowFuel, it should work for you. Regards Link to comment Share on other sites More sharing options...
poly Posted March 24, 2022 Author Share Posted March 24, 2022 On 3/21/2022 at 11:07 PM, Gouki said: Hi Poly You can make a new windowFuel in the windows.xml of your mod and you only change the name (windowFuelAS) for your alchemy station, you must also change the name resourceWood to resourceUranium or whatever you have named it (There is also this in the code of windowFuelAS) . Then in the xui.xml of your alchemy station change the name to windowFuelAS instead of windowFuel, it should work for you. Regards This is the setup I use currently, however, by making Uranium a fuel type is also available as a fuel in the forge, campfire too - not specific to a workstation Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now