<#macro happiness value> <#if value lt 26> <#assign colour = "#ffafaf"> <#elseif value lt 51> <#assign colour = "#ffffaf"> <#elseif value lt 76> <#assign colour = "#afafff"> <#else> <#assign colour = "#afffaf"> ${value}% <#macro happiness_change value> <#switch data.own.hChange> <#case -2>--<#break> <#case -1>-<#break> <#case 1>+<#break> <#case 2>++<#break>