Jump to content

Toolbar mod - Move Inventory/Crafting/Health/MoveFurniture buttons around and extend


blindcoder

Recommended Posts

 

 

What's this?

This mod moves the four statically placed buttons "Inventory", "Crafting", "Health" and "Move Furniture" into a Window that you can move around on the screen.

The player can decide which buttons to show and which buttons to hide.

 

Other mods can also hook into this window and add their own buttons to it.

Spoiler

ThisMod.SetupToolbar = function()
	ThisMod.toolbarButton = ISButton:new(0, 0, 64, 64, "FOO", nil, ThisMod.DoSomething);
	bcToolbar.moveButtonToToolbar(ThisMod.toolbarButton, "ThisMod");
end

if getActivatedMods():contains("bcToolbar") then
	require("BCUI/bcToolbar");
	Events.bcToolbarAddButtons.Add(ThisMod.SetupToolbar);
end

 

 

 

Cool! Where do I get this?

You can download it on the Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=507746061

Or from github: https://github.com/blind-coder/pz-bcToolbar/releases

This mod depends on the bcUtils package v1.2.0 or newer: https://github.com/blind-coder/pz-bcUtils/releases

The bcUtils package is also available on the Workshop: http://steamcommunity.com/workshop/filedetails/?id=503640135

 

Enjoy :)

Link to comment
Share on other sites

  • 5 months later...
  • 2 months later...
  • 1 year later...
  • 5 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...