Umbrella Posted December 20, 2019 Share Posted December 20, 2019 Hello, When placing a block, we have 2 actions (place it and rotate). I would like a third action that rotates counter_clockwise. 1) Weapons in the xml have 2 actions, triggered by eg left and right click. Can we add a third action ? How to make it trigger with eg shift+click ? 2) I can find the action to place a minibike (in items.xml), but I can't find the action to plant a seed (only seed recipe in items.xml) or a frame/block. Where are these defined ? About seeds, I see <triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="plantedCotton1" operation="set" value="1"/> where is the base plantedCotton1 action defined ? 3) Is there some variable incremented when I rotate the block, that I could decrement in my counter_clockwise rotation ? Thanl you ! Link to comment Share on other sites More sharing options...
dragonslayer770 Posted December 24, 2019 Share Posted December 24, 2019 they're in the blocks.xml. Link to comment Share on other sites More sharing options...
Umbrella Posted December 30, 2019 Author Share Posted December 30, 2019 Thank you very much DragonSlayer, found them ! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.