Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Commit

Permalink
Renamed locations.imageColors.itemSlotBG to `locations.imageColors.…
Browse files Browse the repository at this point in the history
…accentBG`
  • Loading branch information
APixelVisuals committed Mar 4, 2020
1 parent 0105c54 commit 29ef0a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/imageGenerators/exploring.js
Expand Up @@ -64,7 +64,7 @@ module.exports = async ({ classes, _ }, user, location, areas) => {
image.composite({
width: 155,
height: 155,
background: colors.itemSlotBG
background: colors.accentBG
}, x + 10, y + 10);

//Add primary loot item
Expand Down
2 changes: 1 addition & 1 deletion modules/imageGenerators/gatheringLoot.js
Expand Up @@ -119,7 +119,7 @@ module.exports = async ({ classes, _ }, user, location, skill, loot, xpGain) =>
image.item({
item: i.name,
amount: i.amount,
bgColor: colors[i.dropped ? "droppedItemSlotBG" : "itemSlotBG"],
bgColor: colors[i.dropped ? "droppedItemSlotBG" : "accentBG"],
borderColor: colors[i.dropped ? "droppedItemSlotBorder" : "accent"],
x,
y,
Expand Down
6 changes: 3 additions & 3 deletions modules/misc/locations.js
Expand Up @@ -3,8 +3,8 @@
* channel: The channel ID of the location
* imageColors:
* accent: The accent color
* accentBG: The accent background color
* progressBarFill: The color of progress bar fills
* itemSlotBG: The background color of item slots
* droppedItemSlotBG: The background color of item slots for dropped items
* droppedItemSlotBorder: The border color of item slots for dropped items
* whiteText?: Whether or not the text color should be white
Expand Down Expand Up @@ -40,8 +40,8 @@ module.exports = [
channel: "648803120830480384",
imageColors: {
accent: "#8baf70",
accentBG: "#3f6040",
progressBarFill: "#d0efb1",
itemSlotBG: "#3f6040",
droppedItemSlotBG: "#7e402b",
droppedItemSlotBorder: "#e03131",
whiteText: true
Expand Down Expand Up @@ -193,8 +193,8 @@ module.exports = [
channel: "648804143196274700",
imageColors: {
accent: "#676767",
accentBG: "#323232",
progressBarFill: "#9f9f9f",
itemSlotBG: "#323232",
droppedItemSlotBG: "#763a3a",
droppedItemSlotBorder: "#f14545",
whiteText: true
Expand Down

0 comments on commit 29ef0a2

Please sign in to comment.