Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

How can I make my block flameable

Discussion in 'Modding' started by C3ntron, Jan 16, 2018.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. C3ntron Trainee Engineer

    Messages:
    97
    Hey all,

    Though I like making my mod, I also would like to see it BURN (ingame ;-) )

    I tried something like this, but that is not working. Tried it withouth append and then nothing would burn ingame anymore. Any suggestions how I can make my custom block a fuel?

    Thanks!

    Code:
     
    <Definition xsi:type="MyObjectBuilder_FuelComponentDefinition" Merge="Append">
    	<Id Type="FuelComponent" Subtype="Fire" />
    	<FuelInventory>Fuel</FuelInventory>
    	<FuelTimes>
    		<Fuel Tag="DiagonalPlank">
    		<Time Seconds="10" />
    		</Fuel>
    	</FuelTimes>
    </Definition>
      
     
  2. Köbi 2 Apprentice Engineer

    Messages:
    147
    Just tag them timber.
    Add this to your BlockItemDefinition: <Tag>Timber</Tag>

    Or plank. Idk if there is a plank tag though.
     
  3. C3ntron Trainee Engineer

    Messages:
    97
    Hey Kobi,
    thanks. I tried that before I defined crafting receipies from my blocks and that caused funny things. That is why I did not try that. Now with crafting receipt, it works very well. Only side effect: now my modded blocks (diagonal planks ;-) ) can now also be used for building. And when deconstructing, you get back regular planks :p
     
Thread Status:
This last post in this thread was made more than 31 days old.