If I have two zones in my game, where I need (say) Fore, Aft, Starboard, Port in one zone and "N,S,E,W" in another zone, I should be able to use a theme. However, when changing the theme certain things don't change... The colours are glitchy and the compass directions never switch.
start_at = ship
start_theme = ship_theme
themes {
ship_theme : theme {
colors {
paper = #600
}
system_messages {
compass = [fore,northeast,starboard,southeast,aft,southwest,port,northwest,up,down,enter,leave]
compass_short = [f,ne,s,se,a,sw,p,nw,u,d,enter,leave];
}
}
land_theme : theme {
colors {
paper = #006
}
system_messages {
compass = [north,northeast,east,southeast,south,southwest,west,northwest,up,down,enter,leave]
compass_short = [n,ne,e,se,s,sw,w,nw,u,d,enter,leave];
}
}
}
on_command {
:mask{
:if (is_at "land") {:set_theme "land_theme";}
:if (is_at "ship") {:set_theme "ship_theme";}
}
}
locations {
ship : location "You are on a ship. The gangplank is to PORT.";
land : location "You are on the jetty. The ship is to the EAST.";
}
connections {
from, direction, to = [
ship,west,land
]
}
If I have two zones in my game, where I need (say) Fore, Aft, Starboard, Port in one zone and "N,S,E,W" in another zone, I should be able to use a theme. However, when changing the theme certain things don't change... The colours are glitchy and the compass directions never switch.