Skip to content

Commit

Permalink
Update Quickbar patch. Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverfeelin committed Jun 13, 2019
1 parent b7abc00 commit 7470c24
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .metadata
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"QuickbarMini",
"StardustLib"
],
"version" : "1.3.4",
"version" : "1.4.0",
"link" : "steam://url/CommunityFilePage/733665104",
"steamContentId" : "733665104"
}
7 changes: 4 additions & 3 deletions quickbar/icons.json.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[
{
"op": "add",
"path": "/normal/-",
"path": "/items/silverfeelin:spawnableItemPack",
"value": {
"label": "Spawnable Item Pack",
"scriptAction": "spawnableItemPackLoader:openInterface",
"icon": "/interface/sip/iconSmall.png"
"icon": "/interface/sip/iconSmall.png",
"weight": 0,
"action": [ "exec", "/quickbar/spawnableItemPackLoader.lua" ]
}
}
]
5 changes: 2 additions & 3 deletions quickbar/spawnableItemPackLoader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,5 @@ end
-- Position anchor at bottom (prevents last row from missing)
categoryScroll.children.sipCatoryAnchor2.position[2] = y - 1

function module.openInterface()
player.interact("ScriptPane", config)
end
-- Open interface
player.interact("ScriptPane", config)

0 comments on commit 7470c24

Please sign in to comment.