diff options
-rw-r--r-- | play.css | 24 | ||||
-rw-r--r-- | play.js | 8 |
2 files changed, 26 insertions, 6 deletions
@@ -593,6 +593,30 @@ body.shift #capabilities2 { drop-shadow(-2px 0px 0px yellow); } +.cylinder.lord.lancaster.lord_buckingham { background-image:url(images/lord_lancaster_buckingham.svg) } +.cylinder.lord.lancaster.lord_clarence { background-image:url(images/lord_lancaster_clarence.svg) } +.cylinder.lord.lancaster.lord_exeter { background-image:url(images/lord_lancaster_exeter.svg) } +.cylinder.lord.lancaster.lord_henry_tudor { background-image:url(images/lord_lancaster_henry_tudor.svg) } +.cylinder.lord.lancaster.lord_henry_vi { background-image:url(images/lord_lancaster_henry_vi.svg) } +.cylinder.lord.lancaster.lord_jasper_tudor { background-image:url(images/lord_lancaster_jasper_tudor.svg) } +.cylinder.lord.lancaster.lord_margaret { background-image:url(images/lord_lancaster_margaret.svg) } +.cylinder.lord.lancaster.lord_northumberland { background-image:url(images/lord_lancaster_northumberland.svg) } +.cylinder.lord.lancaster.lord_oxford { background-image:url(images/lord_lancaster_oxford.svg) } +.cylinder.lord.lancaster.lord_somerset { background-image:url(images/lord_lancaster_somerset.svg) } +.cylinder.lord.lancaster.lord_warwick { background-image:url(images/lord_lancaster_warwick.svg) } +.cylinder.lord.york.lord_devon { background-image:url(images/lord_york_devon.svg) } +.cylinder.lord.york.lord_edward_iv { background-image:url(images/lord_york_edward_iv.svg) } +.cylinder.lord.york.lord_gloucester.gold { background-image:url(images/lord_york_gloucester_gold.svg) } +.cylinder.lord.york.lord_gloucester.silver { background-image:url(images/lord_york_gloucester_silver.svg) } +.cylinder.lord.york.lord_henry_tudor { background-image:url(images/lord_york_henry_tudor.svg) } +.cylinder.lord.york.lord_march { background-image:url(images/lord_york_march.svg) } +.cylinder.lord.york.lord_northumberland { background-image:url(images/lord_york_northumberland.svg) } +.cylinder.lord.york.lord_pembroke { background-image:url(images/lord_york_pembroke.svg) } +.cylinder.lord.york.lord_rutland { background-image:url(images/lord_york_rutland.svg) } +.cylinder.lord.york.lord_salisbury { background-image:url(images/lord_york_salisbury.svg) } +.cylinder.lord.york.lord_warwick { background-image:url(images/lord_york_warwick.svg) } +.cylinder.lord.york.lord_york { background-image:url(images/lord_york_york.svg) } + /* BACKGROUND COLORS AND BORDERS */ /* CARD IMAGES */ @@ -284,11 +284,6 @@ function on_focus_cylinder(evt) { let info = data.lords[lord] let loc = view.pieces.locale[lord] let tip = info.name - - if (loc >= CALENDAR) { - tip += ` - ${info.fealty} Fealty` - } - on_focus(tip) } @@ -738,7 +733,8 @@ function build_map() { data.lords.forEach((lord, ix) => { let e = ui.lord_cylinder[ix] = document.createElement("div") let name = clean_name(lord.name) - e.className = "cylinder lord lord_" + name + " hide" + let side = clean_name(lord.side) + e.className = "cylinder lord " + side + " lord_" + name + " hide" register_action(e, "lord", ix) register_tooltip(e, on_focus_cylinder) document.getElementById("pieces").appendChild(e) |