Assigning values at runtime do Price(obj) as 10 if (obj ofclass Treasure) do Hit(MingVase) as { print "It cracks."; Price(MingVase) := 0; }