Skip to content

Commit

Permalink
settings css, fix default actor/item images
Browse files Browse the repository at this point in the history
  • Loading branch information
moo-man committed Aug 26, 2022
1 parent 84b342e commit 65ddb87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Warhammer Fantasy Roleplay 4th Ed. (FoundryVTT)

![](https://user-images.githubusercontent.com/28637157/97379891-e4a1cc00-1893-11eb-9e0c-d93b92844d5b.jpg)
**[Current Version]**: `6.0.0`
**[Current Version]**: `6.1.0`

**[Compatibility]**: `FoundryVTT V9`

Expand Down
2 changes: 1 addition & 1 deletion modules/actor/actor-wfrp4e.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class ActorWfrp4e extends Actor {
createData.prototypeToken = data.prototypeToken

// Set custom default token
if (!data.img) {
if (data.img == "icons/svg/mystery-man.svg") {
createData.img = "systems/wfrp4e/tokens/unknown.png"
if (data.type == "vehicle")
createData.img = "systems/wfrp4e/tokens/vehicle.png"
Expand Down
2 changes: 1 addition & 1 deletion modules/item/item-wfrp4e.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class ItemWfrp4e extends Item {
}

await super._preCreate(data, options, user)
if (!data.img)
if (data.img == "icons/svg/item-bag.svg")
this.updateSource({ img: "systems/wfrp4e/icons/blank.png" });

if (this.isOwned) {
Expand Down
4 changes: 2 additions & 2 deletions static/css/wfrp4e.css
Original file line number Diff line number Diff line change
Expand Up @@ -11493,8 +11493,8 @@ border-image-outset: 0px !important;
border-image-width: 162px 81px 67px 80px;
border-image-outset: 0px;
background: none;
height: 802px !important;
width: 800px !important;
min-height: 802px;
min-width: 940px;
box-shadow: none;
}
#client-settings .window-header {
Expand Down

0 comments on commit 65ddb87

Please sign in to comment.