I have the following defined, but can’t make it compile…any suggestions kind people? The compiler doesn’t like the first { after the switch. Tried all sorts…driving me nuts!
gordon: Actor ‘stone guardian gargoyle/gordon’ ‘Gordon the Gargolyle’ @herbGarden
"An animated stone statue of a winged creature. You created Gordon to guard the tower
and herb garden from pests. He has filler at the back where you can add fuel, and a
snout at the front to shoot through. "
isHim = true
isProperName = true
globalProperName = 'gordon'
fuelLevel = 5
;
currentFuelLevel ()
{
Switch (self.fuelLevel)
{
case 0: "Empty"; break;
case 1: "Nearly empty"; break;
case 2: "About middle"; break;
case 3: "Fairly full"; break;
case 4: "Quite full"; break;
case 5: "Full"; break;
default: "Broken"; break;
}
}
;
- Component ‘gordon’s filler’ ‘filler’
“A hole in the back of Gordon for the express purpose of adding fuel.
A small gauge next to the filler reads <<gordon.currentFuelLevel())>>”
;